Initial commit
This commit is contained in:
commit
b3a51a4115
10336 changed files with 2381973 additions and 0 deletions
8
node_modules/fast-check/lib/esm/arbitrary/falsy.js
generated
vendored
Normal file
8
node_modules/fast-check/lib/esm/arbitrary/falsy.js
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { BigInt } from '../utils/globals.js';
|
||||
import { constantFrom } from './constantFrom.js';
|
||||
export function falsy(constraints) {
|
||||
if (!constraints || !constraints.withBigInt) {
|
||||
return constantFrom(false, null, undefined, 0, '', NaN);
|
||||
}
|
||||
return constantFrom(false, null, undefined, 0, '', NaN, BigInt(0));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue