• Replaces the library random function with a custom one.

    Parameters

    • rnd: (() => number) = Math.random

      A random function that returns a number between 0 and 1.

        • (): number
        • Returns number

    Returns void