Skip to content

Function: hasLocaleMessage()

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