Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/proc/tools/deps/proc.ts>shuffle

A better way to work with processes in Deno.
Go to Latest
function shuffle
import { shuffle } from "https://deno.land/x/proc@0.21.5/tools/deps/proc.ts";

Perfect in-place array shuffle in linear time.

Parameters

items: T[]