Skip to main content
Log in

Mojo function

seed

seed()

Seeds the random number generator using the current time.

seed(a: Int)

Seeds the random number generator using the value provided.

Args:

  • ​a (Int): The seed value.

Was this page helpful?