is_environment: Is object an environment?

View source: R/types.R

is_environmentR Documentation

Is object an environment?

Description

is_bare_environment() tests whether x is an environment without a s3 or s4 class.

Usage

is_environment(x)

is_bare_environment(x)

Arguments

x

object to test


hadley/rlang documentation built on Nov. 1, 2024, 4 p.m.