Test if an object is of class deb_decimal
.
Examples
x <- deb_decimal(c(5.25, 3.825, 8.5))
y <- c(5.25, 3.825, 8.5)
deb_is_decimal(x)
#> [1] TRUE
deb_is_decimal(y)
#> [1] FALSE
Test if an object is of class deb_decimal
.
x <- deb_decimal(c(5.25, 3.825, 8.5))
y <- c(5.25, 3.825, 8.5)
deb_is_decimal(x)
#> [1] TRUE
deb_is_decimal(y)
#> [1] FALSE