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