Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
12
Task/Empty-string/Elixir/empty-string.elixir
Normal file
12
Task/Empty-string/Elixir/empty-string.elixir
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
empty_string = ""
|
||||
not_empty_string = "a"
|
||||
|
||||
empty_string == ""
|
||||
# => true
|
||||
String.length(empty_string) == 0
|
||||
# => true
|
||||
|
||||
not_empty_string == ""
|
||||
# => false
|
||||
String.length(not_empty_string) == 0
|
||||
# => false
|
||||
Loading…
Add table
Add a link
Reference in a new issue