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