Do any items in a list or vector return TRUE
from a predicate function?
Source: R/is_any.R
, R/is_none.R
is_any.Rd
Do any items in a list or vector return TRUE
from a predicate function?
is_any_null()
: Is any item in a list or vector aNULL
value?
is_any_na()
: Is any item in a list or vector aNA
value?
is_none()
: Is no item in a list or vector returnTRUE
from a predicate function?
is_none_null()
: Is no item in a list or vector isNULL
?
Do any items in a list or vector return TRUE
from a predicate function?
is_any_null()
: Is any item in a list or vector aNULL
value?
is_any_na()
: Is any item in a list or vector aNA
value?
Usage
is_any(x, FUN, ...)
is_any_null(x)
is_any_na(x)
is_none(x, FUN, ...)
is_none_null(x)
is_any(x, FUN, ...)
is_any_null(x)
is_any_na(x)
Arguments
- x
A list or vector passed to
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
,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’.