R/interest-rate-classes.R
is.InterestRate.Rd
Checks whether object inherits from InterestRate class
InterestRate
is.InterestRate(x)
an R object
TRUE if x inherits from the InterestRate class; otherwise FALSE
TRUE
x
FALSE
is.InterestRate(InterestRate(0.04, 2, "act/365"))#> [1] TRUE