← All docs

getrandmax()

Show largest possible random value.

getrandmax()

function getrandmax(): int

Show largest possible random value.

Parameters: none.

Returns: int

Availability

Compiled (AOT)Magician (eval)
AvailableNot available yet

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how getrandmax is implemented in the compiler, see the internals page.