Skip to main content

Mojo function

random_ui64

random_ui64(min: UInt64, max: UInt64) -> UInt64

Returns a random UInt64 number from the given range.

Args:

  • min (UInt64): The minimum number in the range.
  • max (UInt64): The maximum number in the range.

Returns:

UInt64: A random number from the specified range.

Was this page helpful?