Skip to content

[F] getLifecycleVisibilityEnum

function getLifecycleVisibilityEnum(program): Enum

Returns the instance of TypeSpec.Visibility.Lifecycle for the given program.

Parameters

ParameterTypeDescription
programProgramthe program to get the lifecycle visibility enum for

Returns

Enum

a reference to the lifecycle visibility enum