/opt/canhelp/node_modules/kysely/dist/cjs/util
Edit: /opt/canhelp/node_modules/kysely/dist/cjs/util/assert.js (478B)
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.assertNotNullOrUndefined = assertNotNullOrUndefined;
exports.assertIsString = assertIsString;
function assertNotNullOrUndefined(value) {
if (value === null || value === undefined) {
throw new Error(`${value} must not be null or undefined`);
}
}
function assertIsString(value) {
if (typeof value !== 'string') {
throw new Error(`${value} must be a string`);
}
}