Skip to contents

This function checks if an object is of class 'qe.horizon'.

Usage

is.qe.horizon(x)

Arguments

x

An object. The object to be checked.

Value

A logical value. TRUE if the object is of class 'qe.horizon', otherwise FALSE.

Examples

dt <- 1:5
class(dt) <- c("qe.horizon", class(dt))
is.qe.horizon(dt) # Should return TRUE
#> [1] TRUE