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