Type alias NegateTypeGuardFn<Excluded>

NegateTypeGuardFn<Excluded>: (<Value>(value: Value) => value is Exclude<Value, Excluded>)

Type Parameters

  • Excluded

Type declaration

    • <Value>(value: Value): value is Exclude<Value, Excluded>
    • Given a parameter and a predicate, return a new generic Type Guard that implements those

      Type Parameters

      • Value

      Parameters

      • value: Value

      Returns value is Exclude<Value, Excluded>

Generated using TypeDoc