fill
Create an array of a certain size with a default value.Examples
- Example
- Result

fill_keys
Creates an object of a certain size with a default value and a list of keys.Examples
- Example
- Output

first_notempty
Applies the first value that is not empty (0, null, "", empty string) Useful if you need to determine a value to apply based on what is provided, such as editing a database record and being uncertain if an input will be provided to replace a value.Examples


first_notnull
Applies the first value that is notnull
Useful if you need to determine a value to apply based on what is provided, such as editing a database record and being uncertain if an input will be provided to replace a value.
null is its own value entirely. It is not the same as “null”, an empty string, or any other similar empty state.Examples



get
Gets a value at the specified path inside of an array or object. For arrays, the path can be an index, such as0, 1, or 2, which will get the specific item at that index in the array.
For arrays of objects, you can specify the index + a path, such as 2.name
For single objects, you can just specify the path, such as name.
This filter is useful if you aren’t sure if the value you need will exist, and need to provide a default value in place of it.
Examples

An age is provided in the input, so it is provided by the GET filter.

No age is provided in the input, so the default value is used instead.
has
Checks if a value is present (similar to get), but only returns a true or false.Examples

An age is provided, so the filter returns true

An age is not provided, so the filter returns false
set
Replaces or inserts new data at a specified path.Examples

Replace a value with another

Set a new key inside of an object
set_conditional
Use set_conditional to set a new value in an object based on whether a condition evaluates as true.Examples

The age provided is greater than 20, so we return the value set in our set_conditional filter
set_ifnotempty
set_ifnotnull
Sets a new value in an object if the value provided is not empty. An empty value can be 0,null, or an empty string.
set_ifnotnull works the same, but only checks for null
Examples
First, we're getting an existing record from the database.
Then, we use an Update Variable with set_ifnotempty (or set_ifnotnull) to determine whether or not the returned record needs to be updated.
Finally, we edit the record using the result of step 2 for all of our values.

transform
Thetransform filter is universal way to transform data. It works with arrays, objects, and scalar values. It uses the expression data type to specify the transformation.
Hint
This filter is similar to the map filter, except it can bind to all data - not just an array. You can use the context variable $$ to target the parent value.Examples
unset
Removes a key from an objectExamples

The user record normally returns a "name", but using unset has removed it.
