Erlang – any

In this guide, we will discuss Erlang any. Returns true if Pred(Elem) returns true for at least one element Elem in List. Syntax any(Pred,lst) Parameters Pred − The predicate function which…

Continue ReadingErlang – any

Erlang – all

In this guide, we will discuss Erlang all. Returns true if Pred(Elem) returns true for all elements Elem in List, otherwise false. Syntax all(Pred,lst) Parameters Pred − The predicate function which…

Continue ReadingErlang – all