Skip to content

Commit

Permalink
docs: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT committed Sep 24, 2023
1 parent dc78ddf commit cb3691f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/randomizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
*/
export interface Randomizer {
/**
* Generates a random float between `[0, 1)`.
* This method is called `next` so that it could be used as an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#the_iterator_protocol).
* Generates a random float between 0 (inclusive) and 1 (exclusive).
*
* @example
* randomizer.next() // 0.3404027920160495
Expand Down

0 comments on commit cb3691f

Please sign in to comment.