ListEvery
Tests whether all items in a list meet the specified callback
Method Signature
Arguments
list
string
true
string list to filter entries from
callback
function:Predicate
true
delimiter
string
false
string the list delimiter
,
includeEmptyFields
boolean
false
boolean whether to include empty fields in the returned result
false
multiCharacterDelimiter
boolean
false
boolean whether the delimiter is multi-character
true
parallel
boolean
false
boolean whether to execute the filter in parallel
false
maxThreads
integer
false
number the maximum number of threads to use in the parallel filter
Examples
Example for positive result
Checks whether all items in a list are greater than 2 and outputs true because all of them fulfill the requirement.
Result: true
Example for negative result
Checks whether all items in a list are greater than 2 and outputs false because some of them do not fulfill the requirement.
Result: false
Additional Examples
Result: true
Related
Last updated
Was this helpful?