Skip to content

Check whether the data type is a Categorical type

Source code

Description

Check whether the data type is a Categorical type

Usage

DataType_is_categorical()

Value

A logical value

Examples

library(polars)

pl$Categorical()$is_categorical()
#> [1] TRUE
pl$Enum(c("a", "b"))$is_categorical()
#> [1] FALSE