@serenity-is/corelib / tryGetText
Function: tryGetText()
tryGetText(
key):string
Defined in: src/base/localtext.ts:55
Tries to retrieve a localized string from the localization table.
Parameters
key
string
The key of the localized string.
Returns
string
The localized string or undefined if not found.