R.oo (version 1.0.3)

isProtected.Class: Checks if a class is defined protected or not

Description

Checks if a class is defined protected or not.

Usage

## S3 method for class 'Class}(this, ...)':
isProtectedundefined

...{Not used.}

Returns TRUE if the class is protected, otherwise FALSE.

if (isProtected(RccViolationException))
    throw("The class RccViolationException should NOT be protected.")

[object Object]

class().
  setConstructorS3().
  For more information see Class.

programming

methods

Arguments