Checks whether object inherits from CashFlow class

is.CashFlow(x)

Arguments

x

an R object

Value

TRUE if x inherits from the CashFlow class; otherwise FALSE

See also

Examples

is.CashFlow(CashFlow(as.Date("2017-11-15"), MultiCurrencyMoney(list(SingleCurrencyMoney(1, AUD())))))
#> [1] TRUE