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