GraphicID

Methods
2
Fields
None

Getting one

GraphicID

Methods

MethodReturnsDescription
name(number)string?The name of an id.
find(any)number?The id a name holds, for a name read from data: a document, a config value. Index the class for a name written in the code, which raises wh…

Method details

name

name: (number) -> string?

The name of an id.

id
The id to look up.
Returns
nil when the id has no known name.

find

find: (any) -> number?

The id a name holds, for a name read from data: a document, a config value. Index the class for a name written in the code, which raises when it is misspelt.

name
A member's name, nested classes joined by dots (Orbs.UNIVERSE).
Returns
nil when the name holds no id, or is not a string. Never raises.