isStatic.Class: Checks if a class is static or not

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

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

Arguments

...

Not used.

Value

Returns TRUE if the class is static, otherwise FALSE.

Author(s)

Henrik Bengtsson

See Also

setConstructorS3(). For more information see Class.

Examples

1
2
  if (!isStatic(RccViolationException))
    throw("RccViolationException should be static because Exception is.")


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

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

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

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