collectionMap
4

Overview ColdFusion Open BlueDragon Lucee

Calls the given closure with every element in the given collection. the function returns a array or struct (depending on the input) that contains all values returned by the closure.

Attributes

Name Required Type Default Description
4
closure No UDF/Closure that is called with every value in the collection
4
collection No collection to iterate
4
maxThreads No maximum number of threads executed, ignored when argument "parallel" is set to false
4
parallel No execute closures parallel