doddle
    Preparing search index...

    Type Alias TypePredicate<In, Narrowed>

    TypePredicate: (element: In, index: number) => element is Narrowed

    A type predicate Iteratee. When filtering, narrows the element type.

    Type Parameters

    • In

      The input element type.

    • Narrowed extends In

      The narrowed element type.

    Type declaration

      • (element: In, index: number): element is Narrowed
      • Parameters

        • element: In
        • index: number

        Returns element is Narrowed