Type alias ExcludeTypeGuardFn<A>
ExcludeTypeGuardFn<A>: (<Value, Result>(value: Value | Result) => value is Exclude<Value, Result>)
Type declaration
-
- <Value, Result>(value: Value | Result): value is Exclude<Value, Result>
-
Type Parameters
-
Value
-
Result extends A = A
Returns value is Exclude<Value, Result>
Given the resulting Type, returns a Type Guard function