Function shuffler

  • Returns a shuffle function given the specified random source.

    Parameters

    • random: (() => number)
        • (): number
        • Returns number

    Returns typeof shuffle