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 array

closure function

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

parallel boolean
Default: false

When true the items can be executed in parallel
  • true
  • false

maxThreads boolean
Default: 20

The number of threads to use when parallel=true

Links more information about arrayEvery

Fork me on GitHub