Do all items in a list or vector return TRUE from a predicate function?
Source:R/is_all.R
is_all.RdDo all items in a list or vector return TRUE from a predicate function?
is_all_null(): Are all items in a list or vectorNULLvalues?
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::vapplyUSE.NAMESlogical; if
TRUEand ifXis character, useXasnamesfor the result unless it had names already. Since this argument follows...its name cannot be abbreviated.FUN.VALUEa (generalized) vector; a template for the return value from FUN. See ‘Details’.