Blocks within array

List of all the block within the array group. If you're running an older core version, there may be groups listed here that are not available to you (yet).

get last item value v10.4.28 Get the last item from the array. some (value) condition v12.0.7 tests whether at least one element in the array passes the test group by to map object v14.0.4 Groups the elements of the given array by a specified field and returns them as a map. get weighted random object v10.4.28 Returns a random weighted item from the given array avg number v10.4.28 Returns the avarage number in the given array of numbers. filter types array v14.0.3 Returns an array of all items matching the selected type min number v10.4.28 Returns the lowest number in the given array of numbers. count unique values on field number v10.4.28 Returns the number of unique items for the given field and its values. if array v10.4.28 Conditional branching for arrays (if.. then.. else..). with arrays array v10.4.28 Returns an array with arrays transpose object v10.4.28 Transposes the given array of objects to an object with (key: sum). match lines for document array v14.0.2 Returns all matching lines by guid for the given document. The input should contain a _meta.guid which will be returned and an array matches containing { key, value }. group by array v10.4.28 Groups the elements of the given array by a specified field. with objects array v10.4.28 Returns an array of objects. with dates array v10.4.28 join value v12.0.0 Creates and returns a new string by concatenating all of the elements in this array, separated by void if none provided slice array v10.4.28 returns a shallow copy of a portion of an array into a new array object selected from start to end aggregation buckets to flat array array v9.2.15 Converts aggregation buckets to a flat array of objects. every (value) condition v12.0.7 tests whether all elements in the array pass the test reverse array v10.4.28 Reverses the order of elements in the given array. map values to guid seeds array v14.0.5 Maps each value in the array through the deterministic GUID seed hash. Produces an array of GUIDs where each GUID is derived from the corresponding value. Much faster than using array map with a custom function. remove fields array v14.0.4 Removes the specified fields from the objects in this array. Each object is deep-copied first, so the input array and its objects are not mutated. map and parse array v10.4.28 Takes an array with strings and parses every item. add to top of array array v10.4.28 Adds your given value to your given array. remove multiple indexes array v13.0.8 Removes the items with the given indexes. multiply by field array v13.0.8 Returns an array with each item multiplied for the provided key duplicate item array v10.4.28 Duplicates a given item of the array. get at index value v10.4.28 Returns the element stored at the given zero-based index. An index outside the array, or an element that is null, outputs null. min on field number v10.4.28 Returns the lowest number for the given field in the given array of objects. fill array v13.0.1 Fills the given array with null or the given value. shuffle array v10.4.28 Shuffles the array in a random sorting. get meta guids array v10.4.28 Returns an array of values with _meta.guid's of each object in the given array. flatten array v10.6.1 Accepts a nested array and returns a flattened array. merge by field array v14.0.3 will return the base array with the matches merged in, pairing base_array_key against merge_array_key. The base array items are modified in place. grouped step matching by field array v12.0.7 Returns all matching objects for the given key-value pair in groups in steps ([A, A, A, B, B, A, C, C, C] becomes => [(A, A, A), (B, B), (A), (C, C, C)]). with values array v12.0.6 Returns an array of values sum on field number v10.4.28 Returns the total sum of the given field within the array of objects. sort array by length array v10.4.28 Sorts an array based on the length of the elements. sort array by multiple fields array v10.4.28 Sorts the elements of an array by multiple fields in priority order and returns a new, sorted array. The input array is not changed. `fields` and `sort` are two separate, parallel arrays of plain text values that line up by position: fields = ["category", "price"] with sort = ["asc", "desc"] sorts by category ascending and then by price descending. find by field not exists array v10.4.28 Returns the matching objects of they not include the given field. find by key - multiple values array v10.4.28 Returns the matching objects for the given key value pairs. sort array by field array v10.4.28 Sorts the elements of an array by a given key. <= array v10.4.28 Returns all objects that have a number equal to or smaller than the given number step matching by field array v12.0.7 Returns the matching objects for the given key-value pair in steps. remove from bottom of array array v13.0.7 removes the last element from an array and returns that removed element sum number v10.4.28 Returns the total sum of the given array of numbers. length number v10.4.28 Returns the total length of the given array. select fields array v10.4.28 Filters all other fields from the objects in this array. splice array v10.4.28 Removes an item from your given array. flat map array v10.4.28 Executes the provided function on every element in the array and returns as a flat array. select field values array v10.4.28 returns an array with values of the given field in this array of objects. index of number v13.0.8 Get the index of the given value, -1 if not found. find by field exists array v10.4.28 Returns the matching objects of they include the given field. every condition v12.0.7 Tests whether all elements in the array pass the test add to bottom of array array v10.4.28 Adds your given value to your given array. filter removed array v13.0.8 Filters out all removed documents. some condition v12.0.7 Tests whether at least one element in the array passes the test empty array v10.4.28 Returns an empty array. get aggregation buckets array v10.4.28 Returns aggregation buckets from the given array. objects with fields array v10.4.28 Create multiple objects inside an array range array v10.4.28 Generates a new array based on the given start and end numbers. filter array v10.4.28 Returns an array for each item that returns true on the executed function. max number v10.4.28 Returns the highest number in the given array of numbers. concat array v10.4.28 Returns a joined array of two or more arrays. remove fields conditional array v15.0.0 For each object in the array, removes the configured fields only when the value at match_key equals match_value. Non-matching items pass through unchanged. Original objects are not mutated. avg on field number v10.4.28 returns the avarage number for the given field in the given array of objects. count unique values number v10.4.28 Returns the number of unique items for the given array of values. with numbers array v12.0.6 Returns an array of numbers. fuzz geo locations array v15.0.0 For each item in the array, replaces the location with a uniformly-random point within a disc of the item's fuzzing distance (km) when the item's fuzzing-enabled field is true. Items where fuzzing is disabled, the location is invalid, or the distance is non-positive pass through unchanged. max on field number v10.4.28 Returns the highest number for the given field in the given array of objects. get first item value v10.4.28 Get the first item from the array. swap array v10.4.28 find by key - value array v10.4.28 Returns the matching objects for the given key value pair. remove from top of array array v13.0.7 removes the first element from an array and returns that removed element reverse geocode array v15.0.0 Enriches an array of objects in place: for each item it reads the geo point at the location key and writes the resolved city, province, country and country code into the configured output keys. Offline lookup (embedded multi-country dataset). >= array v10.4.28 Returns all objects that have a number equal to or bigger than the given number filter empty array v10.4.28 Returns an array of all non-empty items. Empty is defined as: null or undefined. add prefix to values array v14.0.4 Prepends a prefix to each value in the array. map array v13.0.7 Creates a new array with the results of the provided function on every element in the array. find object v14.0.1 The first element in the array that satisfies the provided testing function. switch array v10.4.28 returns an array based of the given expression. exclude by value array v12.0.7 Removes the items equal to the given value. Returns all items that do NOT match. remove duplicates array v10.4.28 Removes duplicate values from an array. get random item value v10.4.28 Returns a random item from a array using crypto.randomInt. exclude by field value array v10.4.28 Removes the items whose given field equals the given value. Returns all items that do NOT match; items without the field always pass. new array v13.0.1 returns a new array. add suffix to values array v14.0.4 Appends a suffix to each value in the array. elseif array v10.4.28 Conditional branching for arrays (if.. then.. else if.. then.. else if.. default..). remove at index array v13.0.8 Removes the item with the given index. divide by field array v13.0.8 Returns an array with each item divided for the provided key filter by geo distance array v14.0.5 Filters an array of objects, keeping only items where the from location is within the distance specified by each item's distance field. The distance unit (km or m) is configurable.
Back to array Return to the main group to view all sub-groups