Function: hasLocaleMessage()
Source: 1.0.0-rc.14 · ecc10ae38a81 (uncommitted changes)
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