forEach()
areDeterminer().forEach()
areDeterminer().forEach()
The forEach()
method executes a provided callback
function once for each element of the supplied values
.
are-determiner.func.ts
Generic type variables
Payload
extends
CommonPayload
Payload
extends
CommonPayload
The Payload
generic type variable constrained by generic type variable CommonPayload
indicates the type of the payload
parameter from which it gets its value.
Parameters
forEachCallback: ForEachCallback<any, Payload>
forEachCallback: ForEachCallback<any, Payload>
A callback function
of ForEachCallback
type with parameters, the value
that has been checked, the result
of this check, index
of each element, the provided values
and payload
of generic type variable Payload
with optional properties from the provided payload
, to handle.
payload?: Payload
payload?: Payload
An optional object
of the generic type variable Payload
is assigned to the payload
of the given callback
function.
Example usage
Last updated