1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-09-01 18:53:58 +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

@@ -170,13 +170,6 @@ else
"Вы увидите это"
end
# Противоположный ему условный оператор `unless`
unless true do
"Вы этого никогда не увидите"
else
"Вы увидите это"
end
# Помните сопоставление с образцом?
# Многие конструкции в Elixir построены вокруг него.