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.

17 lines 437 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NotRandomGenerator = void 0; /** * @public * Instead of returning a random number, return the constant instead. */ class NotRandomGenerator { constructor(value) { this.value = value; } getNext() { return this.value; } } exports.NotRandomGenerator = NotRandomGenerator; //# sourceMappingURL=not-random-generator.js.map