Test if the object a polars DataType
Description
Test if the object a polars DataType
Usage
is_polars_dtype(x, include_unknown = FALSE)
Arguments
x
|
An object |
include_unknown
|
If FALSE (default), pl$Unknown is considered
as an invalid datatype.
|
Value
A logical value
Examples
#> [1] TRUE
#> [1] FALSE
#> [1] FALSE
#> [1] TRUE