array: get weighted random
Array of objects, should contain

Returns a random weighted item from the given array

array

`weight`

key.
object

weight

array: switch
The expression to evaluate.
The default statement to be executed.
Returns the array matching the expression.
Returns true in case a match was found.

returns an array based of the given expression.

expression

default

output

match

array: flatten

Accepts a nested array and returns a flattened array

array

max depth

Array

array: filter by value
All items matching not matching the given value.

returns an array of all items not matching the given value.

Array

Array

array: filter
all items the executed function returned
Returns the current filtered array

returns an array for each item that returns true on the executed function.

Array

Array

`true`

on.
Iterator

index

value

filtered

value similarity: best match
e.g. Blueprinting is very cool
Array [ Blueprinting is awesome, blueprinting is very awesome, blueprinting is nice ]
If enabled, it checks the similarity per word.

Default:

Allows you to provide the minimum matching score (between

Default:

returns an array of best matching values in this array of values.

text

matches

check per word

Default:

`false`

minimum score

`0.001`

and `1.000`

).Default:

`0.6`

matches

best match

index

array: sort array by length
The array to be sorted
Will sort the array from short to long if set to true

Default:

This sorts an array based on the length of the elements.

Array

short - long

Default:

`false`

array

array: map
how many times this function should be executed in parallel.

creates a new array with the results of the provided function on every element in the array.

Array

Concurrency

Array

Iterator

index

value

array: filter by field value
All items matching not matching the given key & value.

returns an array of all items not matching the given field and their value.

Array

Array

template actions: array template

template_0

template_1

Array

array: aggregation buckets to flat array

Array

Flat

Transpose

array: join

array

join with

value

array: reverse

Array

Array

array: swap

array

Index Item #1

Index Item #2

Array

array: splice
The array you want to remove an item from.

Removes an item from your given array

array

start

deleteCount

Array

Removed items

array: remove from top of array

array

Array

item

array: add to bottom of array

Adds your givin value to your given array.

array

value

number

date

object

Array

array: remove from bottom of array

array

Array

item

array: slice

array

begin

end

Array

array: sort array by multiple fields

Array

fields

sort

Array

array: elseif

if.. then.. else if.. then.. else if.. default..

default

else if

then

array

array: range

generates a new array based of the given start and end number.

start

end

step

array

array: count unique values

returns the number of unique items for the given array of values.

Array

Number

array: grouped step matching by field
the key to be used

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)]).

array

key

grouped

array: some (value)

tests whether at least one element in the array passes the test

Array

condition

array: every (value)

tests whether all elements in the array pass the test

Array

condition

array: get meta guids
Array with Objects (e.g. results of a search)
Array with guids

returns an array of values with _meta.guid's of each object in the given array.

Array

Array

array: flat map

executes the provided function on every element in the array and returns as a flat array.

Array

Flat Array

Iterator

index

value

array: with dates

date

date

array

array: find by field exists

returns the matching objects of they include the given field.

array

results

indexes

array: find by key - value
Field in array of objects to match with.

returns the matching objects for the given key value pair.

array

field

value

results

indexes

esque polyline: encodeDocumentation
array of [0]lat, [1]lon

takes an array of lat, lon arrays and returns an encoded string.

Array
array

precision

encoded

array: avg on field

returns the avarage number for the given field in the given array of objects.

Array

Number

array: filter empty
If
all items not empty.

returns an array of all non-empty items. Empty is defined as: `null`

or `undefined`

.

Array

filter string

`true`

given, we will filter empty strings too.
Array

array: map and parse
the array with strings to parse
how many times this function should be executed in parallel.

Default:

takes an array with strings and parses every item

Array

Concurrency

Default:

`10`

array

success

error

array: sort array by field
Will sort by the given field. If left empty it will sort the array

Sorts the elements of an array by a given key

Array

sort by

A-Z / 1-9

Z-A / 9-1

Array

array: get aggregation buckets

Array

Array

array: get at index

array

index

object

array: group by
Array [{ group: Any *, items: Array [] }]

Array

field

Array

array: add to top of array
The array you want to put your new value on top of

Adds your givin value to your given array.

array

value

number

date

object

Array

array: transpose

transposes the given array of objects to an object with (key: sum).

array

key

sum-key

object

array: match min on field

Default:

returns all objects that have a number equal to or bigger than the given number

array

min

include equal

Default:

`true`

array

array: count unique values on field

returns the number of unique items for the given field its values.

Array

Number

array: match max on field

Default:

returns all objects that have a number equal to or smaller than the given number

array

max

include equal

Default:

`true`

array

array: max on field

returns the highest number for the given field in the given array of objects.

Array

Number

array: min on field

returns the lowest number for the given field in the given array of objects.

Array

Number

array: sum on field
sum of field

returns the total sum of the given field within the array of objects.

Array

Number

array: step matching by field
will stop checking after the first mismatch
the key to be used

returns the matching objects for the given key value pair in steps.

stop after mismatch

array

key

matches

indexes

has match

array: some

tests whether at least one element in the array passes the test

Array

condition

Iterator

index

value

array: every

tests whether all elements in the array pass the test

Array

condition

Iterator

index

value

array: select field values

returns an array with values of the given field in this array of objects.

Array

Array

array: select fields

filters all other fields from the objects in this array.

Array

Array

array: find by key - multiple values
Field in array of objects to match with.

returns the matching objects for the given key value pairs.

array

field

results

indexes

references: define

Store this array as reference, which can later be used by "use reference"

array