std/collections/sample.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.147.0/collections/sample.ts?code";

Functions

Returns a random element from the given array.