Type Alias NarrowingPredicate<T, U>

NarrowingPredicate: (
    element: T,
    index: number,
    array: AnyArray<T>,
) => element is U

Type Parameters

  • T
  • U extends T