Skip to content

Check whether the data type is an ordinal type

Source code

Description

Check whether the data type is an ordinal type

Usage

DataType_is_ord()

Value

A logical value

Examples

library("polars")

pl$String$is_ord()
#> [1] TRUE
pl$Categorical()$is_ord()
#> [1] FALSE