Skip to content

char

char(options): Dependent<string>

Generate a character arbitrary.

Example

random(char())
// => "-"

Parameters

options

Partial<CharGenerator> = {}

Describe how the character must be generated.

Returns

Dependent<string>

An arbitrary character.