IDE
Launch Browser IDE
Download Desktop IDE
Documentation
Libraries
Community
Forum
GitHub
Top Contributors
YouTube Channel
Medium Blog
Facebook
switch-case
xod/core
/switch-case
Outputs Yn value when the corresponding Xn equals IN. If IN is not found among Xns, outputs DEF.
switch-case
@/switch-case
Outputs Yn value when the corresponding Xn equals IN. If IN is not found among Xns, outputs DEF.
IN
generic t1
DEF
generic t2
Default value that is emitted if IN did not match any Xns
X1
generic t1
(variadic)
Y1
generic t2
(variadic)
switch-case
IN
DEF
X1
…
Y1
…
OUT
OUT
generic t2
© 2017–2024
XOD Inc
Privacy Policy
Pricing
YouTube icon
Medium icon
Facebook icon
GitHub icon
Contact us:
hello@xod.io