Type alias AnyIterableTypeGuard<Input, Output>

AnyIterableTypeGuard<Input, Output>: ((value: Input, index: number, values: readonly Input[]) => value is Input & Output)

Type Parameters

  • Input = any

  • Output = any

Type declaration

    • (value: Input, index: number, values: readonly Input[]): value is Input & Output
    • A type on which Type Guard may extend. Should be used when it can be a multi parameter guard.

      Example

      <Guard extends AnyTypeGuard>
      

      Parameters

      • value: Input
      • index: number
      • values: readonly Input[]

      Returns value is Input & Output

Generated using TypeDoc