# Collections



# Functions

- **function-arrayeach** - call the given UDF/Closure with every value in the array.
- **function-arrayevery** - 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.
- **function-arrayfilter** - This function creates a new Array that returns all the values from an array that match the given filter.
- **function-arrayfind** - These functions searches the array for the specified object.
- **function-arrayfindallnocase** - These functions searches the array for the specified object and return the positions of all occurrence of this values.
- **function-arraymap** - Calls the given closure with every element in the given array. the function returns an array that contains all values returned by the closure.
- **function-arrayreduce** - 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.
- **function-arraysome** - 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.
- **function-collectioneach** - call the given UDF/Closure with every entry (key/value) in the given collection.
- **function-collectionevery** - This function calls a given closure/function with every element in a given collection and returns true, if all of the closure calls returns true.
- **function-collectionfilter** - This function creates a new collection that returns all entries from an collection that match the given filter.
- **function-collectionmap** - Calls the given closure with every element in the given collection. the function returns an array or struct (depending on the input) that contains all values returned by the closure.
- **function-collectionreduce** - Iterates over every entry of the collection and calls the closure with every element. This function will reduce the array to a single value and will return the value.
- **function-collectionsome** - This function calls a given closure/function with every element in a given collection and returns true, if one of the closure calls returns true.
- **function-each** - call the given UDF/Closure with every entry (key/value) in the given collection.
- **function-listeach** - call the given UDF/Closure with every value in the string list.
- **function-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.
- **function-listfilter** - This function creates a new string list that returns all entries from an string list that match the given filter.
- **function-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.
- **function-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.
- **function-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.
- **function-queryeach** - call the given UDF/Closure with every row (struct) in the query.
- **function-queryevery** - 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.
- **function-queryfilter** - This function creates a new Query that returns all rows from an query that match the given filter.
- **function-querymap** - Calls the given closure with every row in the query.
- **function-queryreduce** - 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.
- **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.
- **function-structeach** - call the given UDF/Closure with every entry (key/value) in the struct.
- **function-structevery** - 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.
- **function-structfilter** - This function creates a new Struct that returns all entries from an struct that match the given filter.
- **function-structinsert** - Inserts a key-value pair into a structure.
- **function-structmap** - Calls the given closure with every element in the given struct. the function returns a struct that contains all values returned by the closure.
- **function-structnew** - Creates an empty structure.
- **function-structreduce** - 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.
- **function-structsome** - This function calls a closure/function on every element in a struct until one returns true.