Init: RoggioApp Architecture, Prisma Schema, API MVP
This commit is contained in:
+8
@@ -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));
|
||||
}
|
||||
Reference in New Issue
Block a user