Function matchSymbol

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

    Type Parameters

    • Result extends symbol

    Parameters

    • result: Result

    Returns TypeGuardFn<AnyPrimitive, Result>

Generated using TypeDoc