Skip to content

Test if the object is a polars DataFrame

Source code

Description

This function tests if the object is a polars DataFrame.

Usage

is_polars_df(x)

Arguments

x An object

Value

A logical value

Examples

library("polars")

is_polars_df(mtcars)
#> [1] FALSE
is_polars_df(as_polars_df(mtcars))
#> [1] TRUE