I need to set a filter condition where I will proceed differently if one variable is an array or a single value. How can I do this correctly?
Hello @figuresandnumbers,
Try this,
{{if(length(keys(variable)) > 0; "array"; "text")}}
Make sure you change the variable to your given input.
P.S.: Always search first, Check Make Academy. If this is helpful, Mark Best Answers as Solutions
and give
If you need expert help or have questions? Contact or comment below!
3 Likes
Thank you. Will try this.