Skip to main content

Function: asyncStringify()

asyncStringify<Ts>(value): Promise<string>

Defined in: packages/fast-check/src/utils/stringify.ts:457

Convert any value to its fast-check string representation

This asynchronous version is also able to dig into the status of Promise

Type Parameters

Type Parameter
Ts

Parameters

ParameterTypeDescription
valueTsValue to be converted into a string

Returns

Promise<string>

Remarks

Since 2.17.0