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.
81 lines (38 loc) • 1.13 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [NotRandomGenerator](./rc-js-util.notrandomgenerator.md)
## NotRandomGenerator class
Instead of returning a random number, return the constant instead.
**Signature:**
```typescript
export declare class NotRandomGenerator implements IRandomNumberGenerator
```
**Implements:** [IRandomNumberGenerator](./rc-js-util.irandomnumbergenerator.md)
## Constructors
<table><thead><tr><th>
Constructor
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[(constructor)(value)](./rc-js-util.notrandomgenerator._constructor_.md)
</td><td>
</td><td>
Constructs a new instance of the `NotRandomGenerator` class
</td></tr>
</tbody></table>
## Methods
<table><thead><tr><th>
Method
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[getNext()](./rc-js-util.notrandomgenerator.getnext.md)
</td><td>
</td><td>
</td></tr>
</tbody></table>