Function: hasLocaleMessage()
Source: 1.0.0-rc.14 · a572916b42ec
ts
function hasLocaleMessage(messages, key): boolean;Defined in: packages/valaxy/shared/utils/i18n.ts:47
Whether a locale message exists for the given key.
Parameters
messages
Record<string, any> | undefined
key
string
Returns
boolean