update prelude docs
This commit is contained in:
parent
ee09b9f208
commit
5ed314de15
|
@ -1133,12 +1133,13 @@ Converts an angle in radians to an angle in turns.
|
||||||
|
|
||||||
---
|
---
|
||||||
### random
|
### random
|
||||||
Returns a random something. With zero arguments, returns a random number between 0 (inclusive) and 1 (exclusive). With one argument, returns a random number between 0 and n. With two arguments, returns a random number between m and n. Alternately, given a collection (list, dict, set), it returns a random member of that collection.
|
Returns a random something. With zero arguments, returns a random number between 0 (inclusive) and 1 (exclusive). With one argument, returns a random number between 0 and n. With two arguments, returns a random number between m and n. Alternately, given a collection (tuple, list, dict, set), it returns a random member of that collection.
|
||||||
```
|
```
|
||||||
()
|
()
|
||||||
(n as :number)
|
(n as :number)
|
||||||
(m as :number, n as :number)
|
(m as :number, n as :number)
|
||||||
(l as :list)
|
(l as :list)
|
||||||
|
(t as :tuple)
|
||||||
(d as :dict)
|
(d as :dict)
|
||||||
(s as :set)
|
(s as :set)
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user