Function matches

  • Given primitives as arguments, returns a Type Guard that checks if the given value is strictly equal to one of the given primitives.

    Type Parameters

    Parameters

    • Rest ...args: readonly [Args]

    Returns MatchInFn<AnyPrimitive, Args>

Generated using TypeDoc