scalar-type-predicates
From purrr v0.2.2.2
by Lionel Henry
Scalar type predicates
These predicates check for a given type and whether the vector is "scalar", that is, of length 1.
Usage
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)
Arguments
- x
object to be tested.
See Also
Community examples
Looks like there are no examples yet.