Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/denouse/use/random/mod.ts>useRearrange

Util functions for Deno
Go to Latest
function useRearrange
import { useRearrange } from "https://deno.land/x/denouse@v0.0.6/use/random/mod.ts";

Rearrange characters in a string randomly.

Parameters

n: number | string

Number / String to rearrange.

Returns

number | string

Number / String rearranged randomly.