blockly > Names > getUserNames
Names.getUserNames() method
Return a list of all known user-created names of a specified name type.
Signature:
getUserNames(type: NameType | string): string[];
Parameters
Parameter | Type | Description |
---|---|---|
type | NameType | string | The type of entity in Blockly ('VARIABLE', 'PROCEDURE', 'DEVELOPER_VARIABLE', etc...). |
Returns:
string[]
A list of Blockly entity names (no constraints).