In VM§
See primary documentation in context for method prefix
Instance method returning a string of the path in which the virtual machine of the VM object is installed.
In Parameter§
See primary documentation in context for method prefix
method prefix(Parameter: --> Str)
If the parameter is slurpy, returns the marker (e.g., *
, **
, or +
) the parameter was declared with. Otherwise, returns an empty string.
my Signature = :(, *);say .params[0].prefix; # OUTPUT:«»say .params[1].prefix; # OUTPUT:«*»my Signature = :(, **);say .params[0].prefix; # OUTPUT:«»say .params[1].prefix; # OUTPUT:«**»my Signature = :(, +);say .params[0].prefix; # OUTPUT:«»say .params[1].prefix; # OUTPUT:«+»
In Distribution::Locally§
See primary documentation in context for method prefix
A prefix path to be used in conjuncture with the paths found in the metadata.