Skip to content

Check whether the data type is a numeric type

Source code

Description

Check whether the data type is a numeric type

Usage

DataType_is_numeric()

Value

A logical value

Examples

library("polars")

pl$Float32$is_numeric()
#> [1] TRUE
pl$Int32$is_numeric()
#> [1] TRUE
pl$String$is_numeric()
#> [1] FALSE