Skip to content

Latest commit

 

History

History
59 lines (47 loc) · 2.23 KB

File metadata and controls

59 lines (47 loc) · 2.23 KB

Function: 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

QuerySome(query=[query], callback=[function:Predicate], parallel=[boolean], maxThreads=[integer], initialValue=[any])

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