Iterator
Methods
- array.each()
call the given UDF/Closure with every value in the array.
- array.every()
This function calls a given closure/function with every element in a given array and returns true, if all of the closure calls returns true.
- array.filter()
This function creates a new Array that returns all the values from an array that match the given filter.
- array.find()
These functions searches the array for the specified object.
- array.findAllNoCase()
These functions searches the array for the specified object and return the positions of all occurrence of this values.
- array.map()
Calls the given closure with every element in the given array. the function returns an array that contains all values returned by the closure.
- array.reduce()
Iterates over every entry of the given array and calls the closure with every element. This function will reduce the array to a single value and will return the value.
- array.some()
This function calls a given closure/function with every element in a given array and returns true, if one of the closure calls returns true.
- query.each()
call the given UDF/Closure with every row (struct) in the query.
- query.every()
This function calls a given closure/function with every element in a given query and returns true, if all of the closure calls returns true.
- query.filter()
This function creates a new Query that returns all rows from an query that match the given filter.
- query.map()
Calls the given closure with every row in the given query. the function returns a query that contains all values returned by the closure.
- query.reduce()
Iterates over every row of the given query and calls the closure with that row. This function will reduce the query to a single value and will return this value.
- query.some()
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.
- string.listEach()
call the given UDF/Closure with every value in the string list.
- string.listEvery()
This function calls a given closure/function with every element in a given string list and returns true, if all of the closure calls returns true.
- string.listFilter()
This function creates a new string list that returns all entries from an string list that match the given filter.
- string.listMap()
Calls the given closure with every element in the given list. The function returns a list that contains all values returned by the closure.
- string.listReduce()
Iterates over every entry of the given list and calls the closure with every element. This function will reduce the list to a single value and will return the value.
- string.listSome()
This function calls a given closure/function with every element in a given string list and returns true, if one of the closure calls returns true.
- struct.each()
call the given UDF/Closure with every entry (key/value) in the struct.
- struct.every()
This function calls a given closure/function with every element in a given struct and returns true, if all of the closure calls returns true.
- struct.filter()
This function creates a new Struct that returns all entries from an struct that match the given filter.
- struct.insert()
Inserts a key-value pair into a structure.
- struct.map()
Calls the given closure with every element in the given struct. the function returns a struct that contains all values returned by the closure.
- struct.reduce()
Iterates over every entry of the given struct and calls the closure with every key/value. This function will reduce the struct to a single value and will return this value.
- struct.some()
This function calls a closure/function on every element in a struct until one returns true.