blockly > VariableMap > getVariableUsesById

Méthode VariableMap.getVariableUsesById()

Trouvez toutes les utilisations d'une variable nommée.

Signature :

getVariableUsesById(id: string): Block[];

Paramètres

Paramètres Type Description
id chaîne ID de la variable à rechercher.

Renvoie :

Bloquer[]

Tableau des utilisations de blocs.