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 Nov. 2, 2024, 1:07 a.m.