Checks whether object inherits from ZeroCurve class

is.ZeroCurve(x)

Arguments

x

an R object

Value

TRUE if x inherits from the ZeroCurve class; otherwise FALSE

Examples

is.ZeroCurve(build_zero_curve())
#> [1] TRUE