isStatic.Class | R Documentation |
Checks if a class is static or not. A class is static if it has static methods.
## S3 method for class 'Class'
isStatic(this, ...)
... |
Not used. |
Returns TRUE
if the class is static, otherwise FALSE
.
Henrik Bengtsson
setConstructorS3
().
For more information see Class
.
if (!isStatic(RccViolationException))
throw("RccViolationException should be static because Exception is.")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.