areDeterminer()
areDeterminer()
areDeterminer()
The function returns the object of every()
, forEach()
and some()
methods to check given values
with the test implemented by the given checkFn
function.
Generic type variables
CommonPayload
extends
object
CommonPayload
extends
object
The CommonPayload
generic type variable constrained by the object
constrains the generic type variable Payload
of each returned method.
Parameters
checkFn: Function
checkFn: Function
Function to test given values
.
...values: any[]
...values: any[]
A rest parameter of any
type to check its elements against test given in the checkFn
function.
Returns
The return value is an object
of every()
, some()
and forEach()
as methods of checking supplied values
.
Last updated
Was this helpful?