Skip to content

[F] getAllTags

function getAllTags(program, target): string[] | undefined;

Collects unique tags from the target and its enclosing interface and namespaces. Tags are collected from inner to outer scopes and the deduplicated sequence is reversed before returning. Returns a new array, or undefined if no scope has tags.

ParameterType
programProgram
target| Interface | Namespace | Operation

string[] | undefined