blockly > VariableMap > getVariableUsesById

VariableMap.getVariableUsesById() तरीका

v12: Blockly.Variables.getVariableUsesById का इस्तेमाल करें.

किसी नाम वाले वैरिएबल के सभी इस्तेमाल ढूंढें.

हस्ताक्षर:

getVariableUsesById(id: string): Block[];

पैरामीटर

पैरामीटर टाइप ब्यौरा
आईडी स्ट्रिंग ढूंढे जाने वाले वैरिएबल का आईडी.

लौटाए जाने वाले प्रॉडक्ट:

ब्लॉक करें[]

ब्लॉक के इस्तेमाल का कलेक्शन.