Skip to content

string

string(context): Dependent<string>

Generate a string arbitrary. q

Example

random(string())
// => "-abc"

Parameters

context

MaybePartial<StringConstraints> = {}

Returns

Dependent<string>

An arbitrary string.