Learn R Programming

R.oo (version 1.2.7)

isPrivate.Class: Checks if a class is defined private or not

Description

Checks if a class is defined private or not.

Usage

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

...{Not used.}

Returns TRUE if the class is private, otherwise FALSE.

if (isPrivate(RccViolationException))
    throw("The class RccViolationException should NOT be private.")

[object Object]

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



internal
methods
programming

Arguments