Skip to content

[F] getDataDecoratorTargets

function getDataDecoratorTargets(program, decoratorFqn): Map<Type, unknown>;

Get all targets that have a specific data decorator applied, along with their stored values.

ParameterTypeDescription
programProgramThe current program.
decoratorFqnstringThe fully-qualified name of the decorator (e.g., “MyLib.myDec”).

Map<Type, unknown>

A map of target types to their stored values.