nushell/docs/commands/random_integer.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

543 B

title layout version
random integer command 0.59.0

Generate a random integer [min..max]

Signature

> random integer (range)

Parameters

  • range: Range of values

Examples

Generate an unconstrained random integer

> random integer

Generate a random integer less than or equal to 500

> random integer ..500

Generate a random integer greater than or equal to 100000

> random integer 100000..

Generate a random integer between 1 and 10

> random integer 1..10