isAbstract.Class

0th

Percentile

Checks if a class is abstract or not

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

Keywords
methods, internal, programming
Usage
# S3 method for Class
isAbstract(this, ...)
Arguments
...

Not used.

Value

Returns TRUE if the class is abstract, otherwise FALSE.

See Also

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

Aliases
  • isAbstract.Class
  • Class.isAbstract
  • isAbstract,Class-method
Examples
# NOT RUN {
  if (isAbstract(RccViolationException))
    throw("The class RccViolationException should NOT be abstract.")
# }
Documentation reproduced from package R.oo, version 1.22.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.