1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-09-02 19:22:49 +02:00

[elixir] unless got deprecated v1.18 (#5312)

* [elixir/en] unless is deprecated since v1.18

* removed unless from the rest of the languages
This commit is contained in:
Ahmed Elawad
2025-08-08 23:01:13 +04:00
committed by GitHub
parent 1e8e066f51
commit c10e273c6b
11 changed files with 0 additions and 78 deletions

View File

@@ -151,13 +151,6 @@ else
"This will"
end
# 也有 `unless`
unless true do
"This will never be seen"
else
"This will"
end
# 還記得模式比對嗎Elixir 中許多控制流程的結構都依賴模式比對來運作。
# `case` 讓我們可以將一個值與許多模式進行比對: