Function matchBoolean

  • Given a boolean, returns a Type Guard that checks if the given value is strictly equal to the given boolean.

    Type Parameters

    • Result extends boolean

    Parameters

    • result: Result

    Returns TypeGuardFn<AnyPrimitive, Result>

Generated using TypeDoc