Skip to content

Commit 4086320

Browse files
authored
Added documentation for seedRandom (#206)
1 parent 71efb23 commit 4086320

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/stdlib/math.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,11 @@ The type `T` below substitutes either `f32` or `f64` depending on the implementa
214214
```
215215
Returns the value of `x` rounded to the nearest integer.
216216

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+
217222
* ```ts
218223
function sign(x: T): T
219224
```

0 commit comments

Comments
 (0)