Hey!
What about the internal logic in the value fields of the Set node?
Is it possible to use any logical expressions, I’m interested in the expressions “If not, then set this value, if yes then this”, something like this logic).
you can do that within the expression. For example: {{ (condition) ? true : false}}
Thanks, Ricardo!
What is the syntax of logic expressions? Can you give an example of an “if”?
The example that I provided is actually a if condition.
(condition) ? true: false
it’s the same than:
const somevariable = false
if (condition) {
somevariable = true
} else {
somevariable = false
}
1 Like