is_tidytable {tidytable}R Documentation

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

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

is_tidytable(df)

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

is_tidytable(df)

[Package tidytable version 0.11.1 Index]