scalar-type-predicates {purrr} | R Documentation |
These predicates check for a given type and whether the vector is "scalar", that is, of length 1.
is_scalar_list(x) is_scalar_atomic(x) is_scalar_vector(x) is_scalar_numeric(x) is_scalar_integer(x) is_scalar_double(x) is_scalar_character(x) is_scalar_logical(x)
x |
object to be tested. |
type-predicates bare-type-predicates