| isPublic.Class {R.oo} | R Documentation |
Checks if a class is defined public or not
Description
Checks if a class is defined public or not. A class is public if it is neither private nor protected.
Usage
## S3 method for class 'Class'
isPublic(this, ...)
Arguments
... |
Not used. |
Value
Returns TRUE if the class is public, otherwise FALSE.
Author(s)
Henrik Bengtsson
See Also
class().
setConstructorS3().
For more information see Class.
Examples
if (!isPublic(RccViolationException))
throw("The class RccViolationException should be public.")
[Package R.oo version 1.27.1 Index]