Function retrieve

  • If value1 is not null, then return value1, otherwise judget rest of values. Low performance.

    Type Parameters

    • T

    Parameters

    • Rest ...args: T[]

    Returns T

    Final value