Qurak

Switch

उपलब्ध

Multi-way branching — the first pattern that matches wins.

Switch[expr, form1, value1, form2, value2, …]
Switch[2, 1, "one", 2, "two", _, "other"] → twoSwitch[3, 1 + 1, "two", 2 + 1, "three"] → three

विषय

संबंधित

सभी 6300 फ़ंक्शन · इसे किसी MCP क्लाइंट से उपयोग करें