Answers for "elixir hd()"

0

elixir "hd" programming

iex> list = [1, 2, 3]
iex> hd(list)
1
iex> tl(list)
[2, 3]
Posted by: Guest on August-07-2020
0

elixir true

# in
1 in [1,2,3] ==true
Posted by: Guest on August-10-2020

Browse Popular Code Answers by Language