Preparing search index...
The search index is not available
API Reference | fast-check | Property based testing framework
API Reference | fast-check | Property based testing framework
falsy
Function falsy
falsy
<
TConstraints
extends
FalsyContraints
>
(
constraints
?:
TConstraints
,
)
:
Arbitrary
<
FalsyValue
<
TConstraints
>
>
For falsy values:
''
0
NaN
false
null
undefined
0n (whenever withBigInt: true)
Type Parameters
TConstraints
extends
FalsyContraints
Parameters
Optional
constraints
:
TConstraints
Constraints to apply when building instances
Returns
Arbitrary
<
FalsyValue
<
TConstraints
>
>
Remarks
Since 1.26.0
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
API Reference | fast-check | Property based testing framework
Loading...
For falsy values: