Skip to content

[F] isCustomAzureResource

function isCustomAzureResource(program, target): boolean;

Determine if the given model is a custom resource.

ParameterTypeDescription
programProgramThe program to process.
targetModelThe model to check.

boolean

true if the model or any model it extends is marked as a resource, otherwise false.