We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
seedRandom
1 parent 71efb23 commit 4086320Copy full SHA for 4086320
1 file changed
src/stdlib/math.md
@@ -214,6 +214,11 @@ The type `T` below substitutes either `f32` or `f64` depending on the implementa
214
```
215
Returns the value of `x` rounded to the nearest integer.
216
217
+* ```ts
218
+ function seedRandom(value: i64): void
219
+ ```
220
+ Seeds the `random` function. Called internally by `random` if the seed hasn't been set.
221
+
222
* ```ts
223
function sign(x: T): T
224
0 commit comments