Checks whether object inherits from CashFlow class
is.CashFlow(x)
| x | an R object |
|---|
TRUE if x inherits from the CashFlow class; otherwise FALSE
Other money functions: CashFlow,
MultiCurrencyMoney,
SingleCurrencyMoney,
is.MultiCurrencyMoney,
is.SingleCurrencyMoney
is.CashFlow(CashFlow(as.Date("2017-11-15"), MultiCurrencyMoney(list(SingleCurrencyMoney(1, AUD())))))#> [1] TRUE