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