Initial commit
This commit is contained in:
commit
b3a51a4115
10336 changed files with 2381973 additions and 0 deletions
11
node_modules/fast-check/lib/arbitrary/falsy.js
generated
vendored
Normal file
11
node_modules/fast-check/lib/arbitrary/falsy.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.falsy = falsy;
|
||||
const globals_1 = require("../utils/globals");
|
||||
const constantFrom_1 = require("./constantFrom");
|
||||
function falsy(constraints) {
|
||||
if (!constraints || !constraints.withBigInt) {
|
||||
return (0, constantFrom_1.constantFrom)(false, null, undefined, 0, '', NaN);
|
||||
}
|
||||
return (0, constantFrom_1.constantFrom)(false, null, undefined, 0, '', NaN, (0, globals_1.BigInt)(0));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue