GLib.random_int

function random_int(): Number(guint32) {
    // Gjs wrapper for g_random_int()
}
  

Return a random #guint32 equally distributed over the range [0..2^32-1].

Returns

a random number