Helper function that enables splitBy to work with a null value.
Splits a string into a string array based on a value of input or matches part of that input string. It filters out the matching part from the returned array.
With the help of flatten function multiple arrays are bounded together as single array.
Use selector expressions with the update operator to specify the fields to update.
Update Operator Examples
This operator is the one to use when you wish to change specific fields on an Object, while keeping all others the same.
The pluck operator is useful for mapping the object into the array, and it returns the array of values, keys, and indexes of the object.
We use mapObject when we want to change the keys and/or values on an Object to be something else.
The filterObjectoperator iterates over a list of key-value pairs in an object and applies an expression that returns only matching objects, filtering out the rest from the output. The expression must return true or false.
It processes both keys and values as a tuple.