Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR ELIXIR

elixir enum any

Enum.any?(["foo", "bar", "hello"], fn(s) -> String.length(s) == 5 end)
true
Source by elixirschool.com #
 
PREVIOUS NEXT
Tagged: #elixir #enum
ADD COMMENT
Topic
Name
2+1 =