File size: 329 Bytes
96af7c9
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
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));
}