Function matchString

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

    Type Parameters

    • Result extends string

    Parameters

    • result: Result

    Returns TypeGuardFn<AnyPrimitive, Result>

Generated using TypeDoc