Skip to content

alphaNumeric

alphaNumeric(context): Dependent<string>

Generate a valid alpha numeric (a-zA-Z0-9) string arbitrary.

Example

random(alphaNumeric())
// => "9ab10"

Parameters

context

MaybePartial<AlphaNumericGenerator> = {}

Returns

Dependent<string>

An arbitrary alpha numeric string.