Function matchStringIn

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

    Type Parameters

    • Arr extends readonly string[]

    Parameters

    • arr: readonly [Arr]

    Returns MatchInFn<string, Arr>

Generated using TypeDoc