# Iterator



# Methods

- **method-array-each** - call the given UDF/Closure with every value in the array.
- **method-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.
- **method-array-filter** - This function creates a new Array that returns all the values from an array that match the given filter.
- **method-array-find** - These functions searches the array for the specified object.
- **method-array-findallnocase** - These functions searches the array for the specified object and return the positions of all occurrence of this values.
- **method-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.
- **method-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.
- **method-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.
- **method-query-each** - call the given UDF/Closure with every row (struct) in the query.
- **method-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.
- **method-query-filter** - This function creates a new Query that returns all rows from an query that match the given filter.
- **method-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.
- **method-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.
- **method-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.
- **method-string-listeach** - call the given UDF/Closure with every value in the string list.
- **method-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.
- **method-string-listfilter** - This function creates a new string list that returns all entries from an string list that match the given filter.
- **method-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.
- **method-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.
- **method-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.
- **method-struct-each** - call the given UDF/Closure with every entry (key/value) in the struct.
- **method-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.
- **method-struct-filter** - This function creates a new Struct that returns all entries from an struct that match the given filter.
- **method-struct-insert** - Inserts a key-value pair into a structure.
- **method-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.
- **method-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.
- **method-struct-some** - This function calls a closure/function on every element in a struct until one returns true.


# Categories

[Threads](thread.md)