← All docs

mt_getrandmax()

Show largest possible random value.

mt_getrandmax()

function mt_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 mt_getrandmax is implemented in the compiler, see the internals page.