Companion

object Companion

Functions

Link copied to clipboard
fun getType(): <Error class: unknown class>

Get the GType of Rand

Link copied to clipboard
fun new(): Rand

Creates a new random number generator initialized with a seed taken either from /dev/urandom (if existing) or from the current time (as a fallback).

Link copied to clipboard
fun newWithSeed(seed: <Error class: unknown class>): Rand

Creates a new random number generator initialized with @seed.