Skip to main content

Home > blockly > utils > parsing > checkMessageReferences

utils.parsing.checkMessageReferences() function

Validates that any %{MSG_KEY} references in the message refer to keys of the Msg string table.

Signature:

export declare function checkMessageReferences(message: string): boolean;

Parameters

ParameterTypeDescription
messagestringText which might contain string table references.

Returns:

boolean

True if all message references have matching values. Otherwise, false.