[F] getAutoDecoratorValue
function getAutoDecoratorValue( program, decoratorFqn, target): Record<string, unknown> | undefined;Get the stored value for an auto decorator applied to a target.
Always returns a record of { paramName: value } (empty record {} for no-arg decorators).
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
program | Program | The current program. |
decoratorFqn | string | The fully-qualified name of the decorator (e.g., “MyLib.myDec”). |
target | Type | The type to get the value for. |
Returns
Section titled “Returns”Record<string, unknown> | undefined
The stored record, or undefined if the decorator was not applied.