ReadonlyArray.some(predicate: (value: T,index: number,array: readonly T[],) => unknown,thisArg?: any,): boolean
Determines whether the specified callback function returns true for any element of an array.
A function that accepts up to three arguments. The some method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value true, or until the end of the array.