Skip to content

utf16

utf16(context): Dependent<string>

Generate an utf16 string arbitrary.

Example

random(utf16())
// => "cab"

Parameters

context

MaybePartial<StringGenerator> = {}

Returns

Dependent<string>

An utf16 string.