Skip to content

Check whether the data type is an Enum type

Source code

Description

Check whether the data type is an Enum type

Usage

DataType_is_enum()

Value

A logical value

Examples

library(polars)

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