Function matchBooleanIn

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

    Type Parameters

    • Arr extends readonly boolean[]

    Parameters

    • arr: readonly [Arr]

    Returns MatchInFn<boolean, Arr>

Generated using TypeDoc