Skip to content

[F] isCustomAzureResource

function isCustomAzureResource(program, target): boolean

Determine if the given model is a custom resource.

Parameters

ParameterTypeDescription
programProgramThe program to process.
targetModelThe model to check.

Returns

boolean

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