Skip to content

alphaChar

alphaChar(extra): Dependent<string>

Generate a valid alpha (a-zA-Z) character arbitrary.

Example

random(alphaChar())
// => "B"

Parameters

extra

string = ''

A string of extra characters to include in the set of characters to choose from.

Returns

Dependent<string>

An arbitrary alpha character.