Qurak
文档
价格
登录
Qurak
文档
函数
Switch
Switch
可用
Multi-way branching — the first pattern that matches wins.
形式
Switch[expr, form1, value1, form2, value2, …]
验证过的示例
Switch[2, 1, "one", 2, "two", _, "other"] → two
Switch[3, 1 + 1, "two", 2 + 1, "three"] → three
在 Qurak 上运行
搜索参考
主题
Conditionals
- Procedural Conditionals
Procedural Programming
- Conditionals »
相关
If
Condition
Which
Piecewise
And
Equal
Less
AddTo
ArcSinDistribution
ArrayDepth
BernoulliDistribution
BetaDistribution
← SwatchLegend
Symbol →
全部 6300 个函数
·
从 MCP 客户端使用