arrow-core-data / arrow.core / Option / all

all

inline fun all(predicate: (A) -> Boolean): Boolean

Returns true if this option is empty ‘'’or’’’ the predicate $predicate returns true when applied to this $option’s value.

Parameters

predicate - the predicate to test

Do you like Arrow?

Arrow Org
<