Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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'
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

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

R.oo

R Object-Oriented Programming with or without References

v1.24.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.