Function matchIn

  • Given an array of primitives, returns a Type Guard that checks if the given value is strictly equal to any of the given primitives.

    Type Parameters

    Parameters

    • arr: readonly [Arr]

    Returns MatchInFn<AnyPrimitive, Arr>

Generated using TypeDoc