Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
16
Task/Empty-string/Elixir/empty-string.elixir
Normal file
16
Task/Empty-string/Elixir/empty-string.elixir
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
empty_string = ""
|
||||
not_empty_string = "a"
|
||||
|
||||
empty_string == ""
|
||||
# => true
|
||||
String.length(empty_string) == 0
|
||||
# => true
|
||||
byte_size(empty_string) == 0
|
||||
# => true
|
||||
|
||||
not_empty_string == ""
|
||||
# => false
|
||||
String.length(not_empty_string) == 0
|
||||
# => false
|
||||
byte_size(not_empty_string) == 0
|
||||
# => false
|
||||
Loading…
Add table
Add a link
Reference in a new issue