From cb3691f733e0db48e1f14a30cb453312d167c244 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Sun, 24 Sep 2023 16:08:51 +0200 Subject: [PATCH] docs: simplify --- src/randomizer.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/randomizer.ts b/src/randomizer.ts index 718e8821107..cff2df4bba1 100644 --- a/src/randomizer.ts +++ b/src/randomizer.ts @@ -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