Skip to content

Check whether the data type is a boolean type

Source code

Description

Check whether the data type is a boolean type

Usage

DataType_is_bool()

Value

A logical value

Examples

library(polars)

pl$Boolean$is_bool()
#> [1] TRUE
pl$Float32$is_bool()
#> [1] FALSE