arrayEvery

returns true if every closure returns true, otherwise false

arrayEvery(array array, function(item, [index, [array]]) closure, [boolean parallel], [number maxThreads]) → returns boolean

Member Function Syntax

someArray.every(function(item, [index, [array]]) closure, [boolean parallel], [number maxThreads])

This function requires Lucee. Not supported on Adobe ColdFusion.

Argument Reference for the arrayEvery function

array

Required: Yes

closure

Required: Yes
A function / closure with the signature: boolean function (any item, [numeric index], [array array])

parallel

Required: No
Default: false
When true the items can be executed in parallel

maxThreads

Required: No
Default: 20
The number of threads to use when parallel=true

Links more information about arrayEvery


Fork me on GitHub