Cm5Mode.copyState method
Cm5Mode › copyState
Unofficial
Given a state, returns a safe copy of that state.Signature:
copyState(state: T): TParameters:
| Parameter | Type | Description |
|---|---|---|
| state | T | The state to copy. |
Returns: T — A copy of the state.
Cm5Mode › copyState
Unofficial
Given a state, returns a safe copy of that state.Signature:
copyState(state: T): TParameters:
| Parameter | Type | Description |
|---|---|---|
| state | T | The state to copy. |
Returns: T — A copy of the state.