is.DiscountFactor {fmbasics}R Documentation

Inherits from DiscountFactor

Description

Checks whether object inherits from DiscountFactor class

Usage

is.DiscountFactor(x)

Arguments

x

an R object

Value

TRUE if x inherits from the DiscountFactor class; otherwise FALSE

Examples

is.DiscountFactor(DiscountFactor(0.97, Sys.Date(), Sys.Date() + 30))

[Package fmbasics version 0.3.0 Index]