arrow-core-data / arrow.core / Option / forall
inline fun ~~forall~~(p: (A) ->
Boolean
):
Boolean
Deprecated: forall will be renamed to all to be consistent with Kotlin Std’s naming, please use all instead of forall
Returns true if this option is empty ‘'’or’’’ the predicate $p returns true when applied to this $option’s value.
p
- the predicate to test
Do you like Arrow?
✖