You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

8 lines
329 B

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));
}