UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

13 lines 281 B
/** * @public * Instead of returning a random number, return the constant instead. */ export class NotRandomGenerator { constructor(value) { this.value = value; } getNext() { return this.value; } } //# sourceMappingURL=not-random-generator.js.map