QuerySome
This function calls a given closure/function with every element in a given query and returns true, if one of the closure calls returns true
Method Signature
Arguments
Argument
Type
Required
Description
Default
query
query
true
The query to iterate over
callback
function:Predicate
true
The function to invoke for each item. The function will be passed 3 arguments: the row, the currentRow, the query.
parallel
boolean
false
Specifies whether the items can be executed in parallel
false
maxThreads
integer
false
The maximum number of threads to use when parallel = true
initialValue
any
false
Examples
Related
Last updated