powered by
Checks if a class is defined private or not.
# S3 method for Class isPrivate(this, ...)
Returns TRUE if the class is private, otherwise FALSE.
TRUE
FALSE
Not used.
Henrik Bengtsson
class(). setConstructorS3(). For more information see Class.
class
setConstructorS3
Class
if (isPrivate(RccViolationException)) throw("The class RccViolationException should NOT be private.")
Run the code above in your browser using DataLab