asserttype: Assert that a column has an expected class

View source: R/primitives.R

asserttypeR Documentation

Assert that a column has an expected class

Description

Assert that a column has an expected class

Usage

asserttype(data, column, class)

Arguments

data

A data.frame.

column

Name of a single column.

class

Class name to check against.

Value

data, invisibly, if the assertion passes.


basetable documentation built on Sept. 18, 2026, 9:13 a.m.