scalar-type-predicates

0th

Percentile

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

type-predicates bare-type-predicates

Aliases
  • scalar-type-predicates
  • is_scalar_list
  • is_scalar_atomic
  • is_scalar_vector
  • is_scalar_numeric
  • is_scalar_integer
  • is_scalar_double
  • is_scalar_character
  • is_scalar_logical
Documentation reproduced from package purrr, version 0.2.2.2, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.