Elixir If 语句

Elixir If 语句
返回Elixir,语句常用代码示例代码片段
a = true
if a === true do
   IO.puts "Variable a is true!"
   IO.puts "So this code block is executed"
end
IO.puts "Outside the if statement"
原文链接:https://rumenz.com/examples/Elixir/elixir-if-statement.html

【Linux常用命令速查手册】关注【入门小站】,后台回复 「1001」 自取。

点击下面标题即可获取对应PDF资料
↑回到顶部↑
入门小站 @2018