Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/froebel/mod.ts>shuffle

A strictly typed utility library.
Latest
variable shuffle
import { shuffle } from "https://deno.land/x/froebel@v0.23.2/mod.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[]