isPublic.Class: 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}(this, ...)':
isPublicundefined
- ...
{Not used.}
Returns TRUE if the class is public, otherwise FALSE.
if (!isPublic(RccViolationException))
throw("The class RccViolationException should be public.")
[object Object]
class().
setConstructorS3().
For more information see Class.
internal
methods
programming