Learn R Programming

tidytable (version 0.8.0)

is_tidytable: Test if the object is a tidytable

Description

This function returns TRUE for tidytables or subclasses of tidytables, and FALSE for all other objects.

Usage

is_tidytable(x)

Arguments

x

An object

Examples

Run this code
df <- data.frame(x = 1:3, y = 1:3)

is_tidytable(df)

df <- tidytable(x = 1:3, y = 1:3)

is_tidytable(df)

Run the code above in your browser using DataLab