FindTag
Function: findTag()
findTag(tags, declaration): TagDefinition | undefined
Defined in: packages/tagscript/src/lib/manifest.ts:89
Finds the definition for a declaration, ignoring case the way willAccept does.
Parameters
tags
readonly TagDefinition[]
The definitions to search.
declaration
string | null
What the template wrote.
Returns
TagDefinition | undefined
The definition, or undefined when nothing matches.