Skip to main content

Ternary operator support for expressions

  • June 4, 2024
  • 1 reply
  • 90 views

The ability to use a ternary operator in variable expressions would make dramatically increase the ways that variables and expressions could be used. Beyond that the current conditional action only allows for a binary set of options but since ternary expressions could be nested we could effectively have elseif conditions.

They are a native operator for JS so I would think it wouldn’t be too much of a stretch to add them in.

1 reply

  • Figmate
  • 2111 replies
  • June 6, 2024

Hi @conan_galloway, Thank you for reaching out and sharing your thoughts on conditionals.

Your suggestion could be useful to other community members too. We truly appreciate your contribution and encourage you to vote for your idea.
If anyone else in our community agrees with this idea, please show your support by voting/commenting on this post.

Thanks again for your valuable input.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings