getPackage.Class: Gets the package to which the class belongs

getPackage.ClassR Documentation

Gets the package to which the class belongs

Description

Gets the package to which the class belongs.

Usage

## S3 method for class 'Class'
getPackage(this, ...)

Arguments

...

Not used.

Value

Returns a Package.

Author(s)

Henrik Bengtsson

See Also

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

Examples

  print(getPackage(Object))

R.oo documentation built on May 29, 2024, 6:41 a.m.