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

Description Usage Arguments Value Author(s) See Also Examples

Description

Checks if a class is defined private or not.

Usage

1
2
## S3 method for class 'Class'
isPrivate(this, ...)

Arguments

...

Not used.

Value

Returns TRUE if the class is private, otherwise FALSE.

Author(s)

Henrik Bengtsson

See Also

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

Examples

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

R.oo documentation built on May 30, 2017, 6:44 a.m.

Search within the R.oo package
Search all R packages, documentation and source code