fmbasics (version 0.3.0)

is.CashFlow: Inherits from CashFlow

Description

Checks whether object inherits from CashFlow class

Usage

is.CashFlow(x)

Arguments

x

an R object

Value

TRUE if x inherits from the CashFlow class; otherwise FALSE

See Also

Other money functions: CashFlow, MultiCurrencyMoney, SingleCurrencyMoney, is.MultiCurrencyMoney, is.SingleCurrencyMoney

Examples

Run this code
# NOT RUN {
is.CashFlow(CashFlow(as.Date("2017-11-15"),
  MultiCurrencyMoney(list(SingleCurrencyMoney(1, AUD())))))
# }

Run the code above in your browser using DataLab