Learn R Programming

QFRM (version 1.0.1)

is.Opt: Is an object Opt?

Description

Tests the argument for the specific class type.

Usage

is.Opt(o)

Arguments

o
Any object

Value

TRUE if and only if an argument is of Opt class.

Examples

Run this code
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}

Run the code above in your browser using DataLab