Skip to main content
Module

x/froebel/shuffle.ts>default

A strictly typed utility library.
Latest
variable default
import { default } from "https://deno.land/x/froebel@v0.23.2/shuffle.ts";

Shuffles list using the Fisher-Yates shuffle algorithm. The original list is not modified and the shuffled list is returned.

type

<T>(list: T[]) => T[]