[F] isCustomAzureResource
function isCustomAzureResource(program, target): boolean;Determine if the given model is a custom resource.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
program | Program | The program to process. |
target | Model | The model to check. |
Returns
Section titled “Returns”boolean
true if the model or any model it extends is marked as a resource, otherwise false.