GLib.random_set_seed

function random_set_seed(seed: Number(guint32)): void {
    // Gjs wrapper for g_random_set_seed()
}
  

Sets the seed for the global random number generator, which is used by the g_random_* functions, to seed.

seed

a value to reinitialize the global random number generator