Type alias ExcludeTypeGuardFn<A>

ExcludeTypeGuardFn<A>: (<Value, Result>(value: Value | Result) => value is Exclude<Value, Result>)

Type Parameters

  • A

Type declaration

    • <Value, Result>(value: Value | Result): value is Exclude<Value, Result>
    • Given the resulting Type, returns a Type Guard function

      Type Parameters

      • Value

      • Result extends A = A

      Parameters

      • value: Value | Result

      Returns value is Exclude<Value, Result>

Generated using TypeDoc