[F] getResourceTypeForKeyParam
function getResourceTypeForKeyParam(program, param): Model | undefined;Returns the resource associated with a copied key parameter, or undefined if none was recorded.
This reads the parameter’s metadata rather than inferring a resource from its type or name.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
program | Program |
param | ModelProperty |
Returns
Section titled “Returns”Model | undefined