[F] getSourceTraitName
function getSourceTraitName(program, property): string | undefined;Retrieves the traitName stored for the given property, if any.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
program | Program | Program object with context for the current compilation |
property | ModelProperty | The model property for which the trait name should be retrieved |
Returns
Section titled “Returns”string | undefined