all: Returns TRUE iff all elements match the predicate, otherwise...

View source: R/Data.List.r

allR Documentation

Returns TRUE iff all elements match the predicate, otherwise FALSE. This is equivalent to function(pred, xs, skipNAs = TRUE) not(any(not %.% pred, xs)).

Description

all :: (a -> Bool) -> [a] -> Bool

Usage

all(pred, xs, skipNAs = TRUE)

Arguments

pred

predicate function

xs

list


schnecki/rhaskell documentation built on Oct. 30, 2022, 10:23 a.m.