Do all items in a list or vector return TRUE from a predicate function?
Source:R/is_all.R
is_all.Rd
Do all items in a list or vector return TRUE from a predicate function?
is_all_null()
: Are all items in a list or vectorNULL
values?
is_all_na()
: Are all items in a list or vector NA values?
Arguments
- x
A list or vector passed to X parameter of
vapply()
.- FUN
the function to be applied to each element of
X
: see ‘Details’. In the case of functions like+
,%*%
, the function name must be backquoted or quoted.- ...
Arguments passed on to
base::vapply
USE.NAMES
logical; if
TRUE
and ifX
is character, useX
asnames
for the result unless it had names already. Since this argument follows...
its name cannot be abbreviated.FUN.VALUE
a (generalized) vector; a template for the return value from FUN. See ‘Details’.