string
import { string } from "https://git.sr.ht/~ruivieira/deno-experiments/blob/master/randomjs/mod.ts";
Returns a distribution that returns a random string using numbers,
uppercase and lowercase letters, _
, and -
of length length
.
§
string(): StringDistribution
[src]Returns a distribution that returns a random string using numbers,
uppercase and lowercase letters, _
, and -
of length length
.
§Return Type
§
string(pool: string): StringDistribution
[src]Returns a distribution that returns a random string using the provided
string pool as the possible characters to choose from of length length
.