isAbstract.Class {R.oo}R Documentation

Checks if a class is abstract or not

Description

Checks if a class is abstract or not. A class is abstract if it has abstract methods.

Usage

## S3 method for class 'Class':
isAbstract(this, ...)

Arguments

... Not used.

Value

Returns TRUE if the class is abstract, otherwise FALSE.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

class(). setConstructorS3(). For more information see Class.

Examples

  if (isAbstract(RccViolationException))
    throw("The class RccViolationException should NOT be abstract.")

[Package R.oo version 1.6.5 Index]