bare-type-predicates {purrr}R Documentation

Bare type predicates

Description

These predicates check for a given type but only return TRUE for bare R objects. Bare objects have no class attributes. For example, a data frame is a list, but not a bare list.

Usage

is_bare_list(x)

is_bare_atomic(x)

is_bare_vector(x)

is_bare_double(x)

is_bare_integer(x)

is_bare_numeric(x)

is_bare_character(x)

is_bare_logical(x)

Arguments

x

object to be tested.

Details

See Also

type-predicates scalar-type-predicates


[Package purrr version 0.2.2 Index]