Manual
packages: Array<DPackage>
Scope: Metamodel, Model, Package
Returns the collection of packages or subpackages defined in a given metamodel or package. Please note that when applied to a model, it returns the same value as invoked on the model’s metamodel.