Checks whether object inherits from SingleCurrencyMoney class

is.SingleCurrencyMoney(x)

Arguments

x

an R object

Value

TRUE if x inherits from the SingleCurrencyMoney class; otherwise FALSE

See also

Examples

is.SingleCurrencyMoney(SingleCurrencyMoney(1:5, AUD()))
#> [1] TRUE