Skip to content

[F] getFeature

function getFeature(program, entity): ArmFeatureFileOptions;

Get the FeatureOptions for a given type, these could be inherited from the namespace or parent type

ParameterTypeDescription
programProgramThe program to process.
entityTypeThe type entity to get feature options for.

ArmFeatureFileOptions

The feature file options if found, otherwise the common feature options.