Package:version
methodPackage:version() -> stringThe manifest version.
In the guide: Packages and identity
handle5 methods, 2 fields
A loaded package — the running app's own bundle (datumhue.package) or another package loaded via dir:load_package / file:load_package.
Dir:load_package, File:load_package, PackageRef:load, datumhue.packagedatumhue.app.spawn| Field | Type | Access | Description |
|---|---|---|---|
name | string | read-only | The manifest name. |
title | string | read-only | Read-only. The human name of a loaded bundle (this app's own datumhue.package): the manifest title, or one derived from the package name (scope dropped, "_" and "-" become spaces, each word capitalized). Never empty. |
Package:version() -> stringThe manifest version.
In the guide: Packages and identity
Package:kind() -> packages.KindThe manifest kind.
In the guide: Packages and identity
Package:content_type() -> string?The refinement tag on asset packs, or nil on apps and libraries.
Package:is_sealed() -> booleanMirrors the manifest sealed flag.
Package:dir() -> Dir?A read-only directory rooted at the loaded bundle; the same handle across calls. Returns nil for sealed packages loaded from outside; the running app's own package always succeeds.
In the guide: Pixel art and sprites Shaders Play sound