Skip to contents

This is for unique identifiers of groupings, which we will allow to either be character or integers.

Usage

assert_int_or_char(x, arg = "x", call = rlang::caller_env())

Arguments

x

Object with type checking

arg

Name of the argument supplying the object

call

Calling environment to be passed to cli::cli_abort()

Value

NULL, invisibly