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 用戶端使用這個