Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

hex

import { hex } from "https://git.sr.ht/~ruivieira/deno-experiments/blob/master/randomjs/mod.ts";

Returns a Distribution that returns a random string comprised of numbers or the characters abcdef (or ABCDEF) of length length.

function hex(uppercase?: boolean): StringDistribution;
§
hex(uppercase?: boolean): StringDistribution
[src]

§Parameters

§
uppercase?: boolean optional
[src]

Whether the string should use ABCDEF instead of abcdef