[F] hasDataDecorator
function hasDataDecorator( program, decoratorFqn, target): boolean;Check if a data decorator has been applied to a target.
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 check. |
Returns
Section titled “Returns”boolean