General Functions in Fusion Flashcards

https://experienceleague.adobe.com/en/docs/workfront/using/adobe-workfront-fusion/functions-in-fusion/general-functions

1
Q

What function returned the value path of an object or array and how is this typically written?

A

get (object or array; path)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What function returns the value1 if the expression is evaluated to true; otherwise it returns the value2.

A

if (expression; value1; value2)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What function returns the value1 if this value is not empty; otherwise it returns the value2.

A

ifempty (value1; value2)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What function evaluates one value (called the expression) against a list of values; returns the result corresponding to the first matching value.

A

switch (expression; value1; result1; [value2; result2; …]; [else])

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What function omits the given keys of the object and returns the rest.

A

omit(object; key1; [key2; …])

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What function picks only the given keys from the object.

A

pick(object; key1; [key2; …])

How well did you know this?
1
Not at all
2
3
4
5
Perfectly