We found 79 matches for: array

An overview of all array blocks currently available, updated daily!

array: objects with fields

Create multiple objects inside an array

Out-pins

Output
array: get random item

returns random item from array using crypto.randomInt

In-pins

array
array: get weighted random

Returns a random weighted item from the given array

In-pins

array
Array of objects, should contain weight key.

Out-pins

object
weight
array: switch

returns an array based of the given expression.

In-pins

expression
The expression to evaluate.
default
The default statement to be executed.

Out-pins

output
Returns the array matching the expression.
match
Returns true in case a match was found.
array: duplicate item

duplicates a given item

In-pins

times

Out-pins

output
array: with numbers

Returns an array of numbers

In-pins

number
number

Out-pins

array
array: flatten

Accepts a nested array and returns a flattened array

In-pins

array
max depth

Out-pins

Array
array: filter by value

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

In-pins

Array

Out-pins

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

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

In-pins

Array

Out-pins

Array
all items the executed function returned true on.
Iterator
index
value
filtered
Returns the current filtered array
value similarity: best match

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

In-pins

text
e.g. Blueprinting is very cool
matches
Array [ Blueprinting is awesome, blueprinting is very awesome, blueprinting is nice ]
check per word
If enabled, it checks the similarity per word.

Default:
false
minimum score
Allows you to provide the minimum matching score (between 0.001 and 1.000).

Default:
0.6

Out-pins

matches
best match
index
array: sort array by length

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

In-pins

Array
The array to be sorted
short - long
Will sort the array from short to long if set to true

Default:
false

Out-pins

array
array: map

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

In-pins

Array
Concurrency
how many times this function should be executed in parallel.

Out-pins

Array
Iterator
index
value
array: filter by field value

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

In-pins

Array

Out-pins

Array
All items matching not matching the given key & value.
template actions: array template

In-pins

template_0
template_1

Out-pins

Array
array: aggregation buckets to flat array

In-pins

Array

Out-pins

Flat
Transpose
array: remove duplicates

Removes duplicate values from an array

In-pins

Array

Out-pins

Array
array: join

In-pins

array
join with

Out-pins

value
array: reverse

In-pins

Array

Out-pins

Array
array: get first item

get first item from array.

In-pins

array

Out-pins

Item
array: swap

In-pins

array
Index Item #1
Index Item #2

Out-pins

Array
array: splice

Removes an item from your given array

In-pins

array
The array you want to remove an item from.
start
deleteCount

Out-pins

Array
Removed items
array: remove from top of array

In-pins

array

Out-pins

Array
item
array: add to bottom of array

Adds your givin value to your given array.

In-pins

array
value
number
date
object

Out-pins

Array
array: shuffle

Shuffles the array in an random sorting.

In-pins

array

Out-pins

Array
array: remove from bottom of array

In-pins

array

Out-pins

Array
item
array: slice

In-pins

array
begin
end

Out-pins

Array
array: sort array by multiple fields

In-pins

Array
fields
sort

Out-pins

Array
array: elseif

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

In-pins

default
else if
then

Out-pins

array
array: index of

get the index of the given value, -1 of not found.

In-pins

array
value

Out-pins

index
array: range

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

In-pins

start
end
step

Out-pins

array
array: count unique values

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

In-pins

Array

Out-pins

Number
custom: array with numbers

creates a new array of given numbers.

Out-pins

array
array: grouped step matching by field

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

In-pins

array
key
the key to be used

Out-pins

grouped
array: some (value)

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

In-pins

Array

Out-pins

condition
array: every (value)

tests whether all elements in the array pass the test

In-pins

Array

Out-pins

condition
array: get meta guids

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

In-pins

Array
Array with Objects (e.g. results of a search)

Out-pins

Array
Array with guids
array: flat map

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

In-pins

Array

Out-pins

Flat Array
Iterator
index
value
array: with dates

In-pins

date
date

Out-pins

array
array: concat

returns a joined array of two or more arrays.

In-pins

array_1
array_2

Out-pins

Array
array: find by field exists

returns the matching objects of they include the given field.

In-pins

array

Out-pins

results
indexes
array: find by key - value

returns the matching objects for the given key value pair.

In-pins

array
field
Field in array of objects to match with.
value

Out-pins

results
indexes
references: use

Use the array which was previously defined by a define reference

Out-pins

array
array: fill

fills the given array with null or the given value.

In-pins

array

Out-pins

Array
array: new

returns a new array.

In-pins

length
Min: 0, max: 1000

Out-pins

Array
esque polyline: encode

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

Array Documentation

In-pins

array
array of [0]lat, [1]lon
precision

Out-pins

encoded
array: with objects

Returns an array of objects

In-pins

object
object

Out-pins

array
array: with arrays

Returns an array with arrays

In-pins

array
array

Out-pins

array
array: with values

Returns an array of values

In-pins

value
value

Out-pins

array
array: avg on field

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

In-pins

Array

Out-pins

Number
array: avg

returns the avarage number in the given array of numbers.

In-pins

Array

Out-pins

Number
array: filter empty

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

In-pins

Array
filter string
If true given, we will filter empty strings too.

Out-pins

Array
all items not empty.
array: map and parse

takes an array with strings and parses every item

In-pins

Array
the array with strings to parse
Concurrency
how many times this function should be executed in parallel.

Default:
10

Out-pins

array
success
error
array: sort array by field

Sorts the elements of an array by a given key

In-pins

Array
sort by
Will sort by the given field. If left empty it will sort the array
A-Z / 1-9
Z-A / 9-1

Out-pins

Array
array: get aggregation buckets

In-pins

Array

Out-pins

Array
array: get at index

In-pins

array
index

Out-pins

object
array: group by

In-pins

Array
field

Out-pins

Array
Array [{ group: Any *, items: Array [] }]
array: get last item

get last item from array.

In-pins

array

Out-pins

Item
array: add to top of array

Adds your givin value to your given array.

In-pins

array
The array you want to put your new value on top of
value
number
date
object

Out-pins

Array
array: transpose

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

In-pins

array
key
sum-key

Out-pins

object
array: match min on field

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

In-pins

array
min
include equal


Default:
true

Out-pins

array
array: if

if.. then.. else..

In-pins

true
false
boolean

Out-pins

array
array: count unique values on field

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

In-pins

Array

Out-pins

Number
array: match max on field

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

In-pins

array
max
include equal


Default:
true

Out-pins

array
array: max on field

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

In-pins

Array

Out-pins

Number
array: max

returns the highest number in the given array of numbers.

In-pins

Array

Out-pins

Number
array: min on field

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

In-pins

Array

Out-pins

Number
array: min

returns the lowest number in the given array of numbers.

In-pins

Array

Out-pins

Number
array: length

returns the total length of the given array.

In-pins

array

Out-pins

Length
array: sum on field

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

In-pins

Array

Out-pins

Number
sum of field
array: sum

returns the total sum of the given array of numbers.

In-pins

Array

Out-pins

Number
custom: array with values

creates a new array of given values.

Out-pins

array
array: step matching by field

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

In-pins

stop after mismatch
will stop checking after the first mismatch
array
key
the key to be used

Out-pins

matches
indexes
has match
array: some

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

In-pins

Array

Out-pins

condition
Iterator
index
value
array: every

tests whether all elements in the array pass the test

In-pins

Array

Out-pins

condition
Iterator
index
value
array: select field values

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

In-pins

Array

Out-pins

Array
array: select fields

filters all other fields from the objects in this array.

In-pins

Array

Out-pins

Array
array: empty

returns an empty array.

Out-pins

Array
array: find by key - multiple values

returns the matching objects for the given key value pairs.

In-pins

array
field
Field in array of objects to match with.

Out-pins

results
indexes
references: define

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

In-pins

array