is.Opt {QFRM} | R Documentation |
Opt
?Tests the argument for the specific class type.
is.Opt(o)
o |
Any object |
TRUE if and only if an argument is of Opt
class.
Oleg Melnikov
is.Opt(Opt()) #verifies that Opt() returns an object of class \code{Opt}
is.Opt(1:3) #verifies that code{1:3} is not an object of class \code{Opt}