up previous next
PackageOf    --    package of an identifier


Syntax
PackageOf(S: STRING): STRING

Description
If S contains the name of an identifier defined and exported from a package, it returns the name of that package; otherwise it returns a string saying it is not a package-exported name.

Consult also the documentation for the function starting .

Example
/**/ PackageOf("starting");
$coclib
/**/ PackageOf("deg");

/**/ starting("star");
[record[IsExported := true, name := "$coclib.starting"]]

See Also