* Returns a copy of the internal state of this random number generator as a * JavaScript Array. * * @category getters * @since 2.0.0
()
| 592 | * @since 2.0.0 |
| 593 | */ |
| 594 | getState(): PCGRandomState { |
| 595 | return [this._state[0]!, this._state[1]!, this._state[2]!, this._state[3]!] |
| 596 | } |
| 597 | |
| 598 | /** |
| 599 | * Restore state previously retrieved using `getState()`. |
no outgoing calls
no test coverage detected