Function hasTid
Parameters
- tid: string
Tid to test. Literal texts (':text' and '<>html') always exist, an empty tid never does
Optionaloptions: { langCode?: string }Options: langCode - Language to test (defaults to the current language). The module's fallback language is also tried
Returns boolean
True if getTid would return an actual text for this tid
- tid: string
Test whether a tid resolves to a text, without warning about missing texts.