isAbstract.Class: Checks if a class is abstract or not

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

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

Arguments

...

Not used.

Value

Returns TRUE if the class is abstract, otherwise FALSE.

Author(s)

Henrik Bengtsson

See Also

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

Examples

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

R.oo documentation built on May 20, 2017, 4:31 a.m.

Search within the R.oo package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.