Learn R Programming

R.oo (version 1.2.7)

isStatic.Class: 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}(this, ...)':
isStaticundefined

...{Not used.}

Returns TRUE if the class is static, otherwise FALSE.

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

[object Object]

setConstructorS3().
  For more information see Class.



internal
methods
programming

Arguments