Function or

  • Union two type information's

    Type Parameters

    Parameters

    • value0: T0

      The first type information

    • value1: T1

      The second type information

    Returns Or<T0, T1>

  • Union three type information's

    Type Parameters

    Parameters

    • value0: T0

      The first type information

    • value1: T1

      The second type information

    • value2: T2

      The third type information

    Returns Or<Or<T0, T1>, T2>

    A type information that is the union of the three type information's

  • Union four type information's

    Type Parameters

    Parameters

    • value0: T0

      The first type information

    • value1: T1

      The second type information

    • value2: T2

      The third type information

    • value3: T3

      The fourth type information

    Returns Or<Or<Or<T0, T1>, T2>, T3>

    A type information that is the union of the four type information's

  • Union five or more type information's

    Type Parameters

    Parameters

    • value0: T0

      The first type information

    • Rest ...values: T[]

      The rest of the type information's

    Returns Or<any, T0>

    A type information that is the union of the type information's

Generated using TypeDoc