import { FindOptions } from './findoptions' ; template T param { Iterable < T > } source param { FindSubclassedOptions < T , S > } options returns { boolean } export function some < T > ( source , options ) { const { [ 'thisArg' ] : thisArg , [ 'predicate' ] : predicate } = options ; let i = 0 ; for ( const item of source ) { if ( predicate . call ( thisArg , item , i ++ ) ) { return true ; } } return false ; }