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.

arrayEvery Argument Reference

array
Required

closure
Required

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

parallel
Default: false

When true the items can be executed in parallel

maxThreads
Default: 20

The number of threads to use when parallel=true

Links more information about arrayEvery


Fork me on GitHub