Function: hasToStringMethod()
hasToStringMethod<
T>(instance):instance is T & WithToStringMethod
Defined in: packages/fast-check/src/utils/stringify.ts:47
Check if an instance implements WithToStringMethod
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
instance | T |
Returns
instance is T & WithToStringMethod
Remarks
Since 2.17.0