new update(position, state) → {State}
Get a reference ID by an index.
Parameters:
Name | Type | Description |
---|---|---|
position |
number | Position for references array. |
state |
State | Array of references. |
- Source:
Returns:
- Type
- State
Example
reference(0)