isStatic.Class {R.oo}R Documentation

Checks if a class is static or not

Description

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

Usage

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

Arguments

... Not used.

Value

Returns TRUE if the class is static, otherwise FALSE.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

setConstructorS3(). For more information see Class.

Examples

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

[Package R.oo version 1.6.5 Index]