isClass
Test for a Class

Description

Tests if the specified character string corresponds to a currently-defined class.

Usage

isClass(Class, formal = TRUE, where = topenv(parent.frame()))

Arguments

Class a character string defining the class.
formal this argument is unimplemented, and a warning is generated if it is given.
where this argument is unimplemented, and a warning is generated if it is given.
Value
returns a logical value. If TRUE, Class corresponds to a currently-defined class.
See Also
getClassDef
Examples
isClass("numeric")  # TRUE - this class is always defined
isClass("undefined-class")  # FALSE
Package methods version 6.0.0-69
Package Index