is_tidytable {tidytable} | R Documentation |
This function returns TRUE for tidytables or subclasses of tidytables, and FALSE for all other objects.
is_tidytable(x)
x |
An object |
df <- data.frame(x = 1:3, y = 1:3)
is_tidytable(df)
df <- tidytable(x = 1:3, y = 1:3)
is_tidytable(df)