General Functions in Fusion Flashcards
https://experienceleague.adobe.com/en/docs/workfront/using/adobe-workfront-fusion/functions-in-fusion/general-functions
What function returned the value path of an object or array and how is this typically written?
get (object or array; path)
What function returns the value1 if the expression is evaluated to true; otherwise it returns the value2.
if (expression; value1; value2)
What function returns the value1 if this value is not empty; otherwise it returns the value2.
ifempty (value1; value2)
What function evaluates one value (called the expression) against a list of values; returns the result corresponding to the first matching value.
switch (expression; value1; result1; [value2; result2; …]; [else])
What function omits the given keys of the object and returns the rest.
omit(object; key1; [key2; …])
What function picks only the given keys from the object.
pick(object; key1; [key2; …])