Skip to main content

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

Parameter

Type

Description

message

string

Text which might contain string table references.

Returns:

boolean

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