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