[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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
program | Program |
target | | Interface | Namespace | Operation |
Returns
Section titled “Returns”string[] | undefined