Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR ELIXIR

elixir enum chunk_every

Enum.chunk_every([1, 2, 3, 4, 5, 6], 2)
[[1, 2], [3, 4], [5, 6]]
Source by elixirschool.com #
 
PREVIOUS NEXT
Tagged: #elixir #enum
ADD COMMENT
Topic
Name
2+3 =