Learn R Programming

R.oo (version 1.2.7)

isAbstract.Class: 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}(this, ...)':
isAbstractundefined

...{Not used.}

Returns TRUE if the class is abstract, otherwise FALSE.

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

[object Object]

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



internal
methods
programming

Arguments