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

x/numwizard/mod.ts>Rearrange

A bunch of functions to convert numbers into strings of required format.
Latest
function Rearrange
import { Rearrange } from "https://deno.land/x/numwizard@v1.2.1/mod.ts";

Rearrange digits in a number or characters in a string randomly.

Parameters

n: number | string
  • Number / String to rearrange.

Returns

number | string