Index class checkers

is.Index(x)

is.IborIndex(x)

is.CashIndex(x)

Arguments

x

an object

Value

TRUE if object inherits from tested class

Examples

is.Index(AONIA())
#> [1] TRUE
is.CashIndex(AONIA())
#> [1] TRUE
is.IborIndex(AONIA())
#> [1] FALSE