Stay organized with collections Save and categorize content based on your preferences.

blockly > utils > checkMessageReferences

utils.checkMessageReferences() function

Use **Blockly.utils.parsing.checkMessageReferences** instead.

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

Parameter Type Description
message string Text which might contain string table references.

Returns:

boolean

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