isProtected.Class | R Documentation |
Checks if a class is defined protected or not.
## S3 method for class 'Class'
isProtected(this, ...)
... |
Not used. |
Returns TRUE
if the class is protected, otherwise FALSE
.
Henrik Bengtsson
class
().
setConstructorS3
().
For more information see Class
.
if (isProtected(RccViolationException))
throw("The class RccViolationException should NOT be protected.")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.