UNPKG

obliterator

Version:

Higher order iterator library for JavaScript/TypeScript.

9 lines (6 loc) 204 B
import type {IntoInterator} from './types'; type PredicateFunction<T> = (item: T) => boolean; export default function every<T>( target: IntoInterator<T>, predicate: PredicateFunction<T> ): boolean;