Skip to main content
Version: Latest (Core: 0.57.x, Azure: 0.43.x)

[F] isArmVirtualResource

function isArmVirtualResource(program, target): boolean

Determine if the given model is an external 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.