MCPcopy
hub / github.com/RaspberryPiFoundation/blockly / getValue

Method getValue

packages/blockly/core/menuitem.ts:156–158  ·  view source on GitHub ↗

* Gets the value associated with the menu item. * * @returns value Value associated with the menu item. * @internal

()

Source from the content-addressed store, hash-verified

154 * @internal
155 */
156 getValue(): string | null {
157 return this.opt_value ?? null;
158 }
159
160 /**
161 * Set menu item's rendering direction.

Callers 15

getVarModelsMethod · 0.45
updateVarNameMethod · 0.45
renameVarByIdMethod · 0.45
getFieldValueMethod · 0.45
onItemSelected_Method · 0.45
setConstraintsMethod · 0.45
setMinMethod · 0.45
setMaxMethod · 0.45
setPrecisionMethod · 0.45
renameFunction · 0.45
getAriaValueFunction · 0.45
toXmlFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected