Determines whether the specified callback function returns true for any element of an array.
@param ― predicate 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.
@param ― thisArg An object to which the this keyword can refer in the predicate function.
If thisArg is omitted, undefined is used as the this value.
some(
var Boolean:BooleanConstructor
Boolean);
declare const
const array:boolean[]
array:boolean[];
const array:boolean[]
array.
Array<boolean>.length: number
Gets or sets the length of the array. This is a number one higher than the highest index in the array.
Determines whether the specified callback function returns true for any element of an array.
@param ― predicate 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.
@param ― thisArg An object to which the this keyword can refer in the predicate function.
If thisArg is omitted, undefined is used as the this value.
some(
var Boolean:BooleanConstructor
Boolean);
declare const
const array:boolean[]
array:boolean[];
const array:boolean[]
array.
Array<boolean>.length: number
Gets or sets the length of the array. This is a number one higher than the highest index in the array.
Determines whether all the members of an array satisfy the specified test.
@param ― predicate 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.
@param ― thisArg An object to which the this keyword can refer in the predicate function.
If thisArg is omitted, undefined is used as the this value.
Determines whether the specified callback function returns true for any element of an array.
@param ― predicate 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.
@param ― thisArg An object to which the this keyword can refer in the predicate function.
If thisArg is omitted, undefined is used as the this value.
Determines whether all the members of an array satisfy the specified test.
@param ― predicate 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.
@param ― thisArg An object to which the this keyword can refer in the predicate function.
If thisArg is omitted, undefined is used as the this value.
every(
var Boolean:BooleanConstructor
Boolean);
declare const
const array:boolean[]
array:boolean[];
const array:boolean[]
array.
Array<boolean>.length: number
Gets or sets the length of the array. This is a number one higher than the highest index in the array.
Determines whether all the members of an array satisfy the specified test.
@param ― predicate 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.
@param ― thisArg An object to which the this keyword can refer in the predicate function.
If thisArg is omitted, undefined is used as the this value.
every(
var Boolean:BooleanConstructor
Boolean);
declare const
const array:boolean[]
array:boolean[];
const array:boolean[]
array.
Array<boolean>.length: number
Gets or sets the length of the array. This is a number one higher than the highest index in the array.
Determines whether the specified callback function returns true for any element of an array.
@param ― predicate 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.
@param ― thisArg An object to which the this keyword can refer in the predicate function.
If thisArg is omitted, undefined is used as the this value.