Type Alias NarrowingPredicate<T, U>

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

Type Parameters

  • T
  • U extends T