Files
2026-01-22 15:49:12 +01:00

9 lines
203 B
TypeScript

import type {IntoInterator} from './types';
type PredicateFunction<T> = (item: T) => boolean;
export default function some<T>(
target: IntoInterator<T>,
predicate: PredicateFunction<T>
): boolean;