// Argument checking helpers:
class HArgChecking {
    static PROVIDED(argument, funcName, argName) {
        if (!argument) {
            if (!funcName)
                funcName = '???';
            if (!argName)
                argName = '???';
            throw 'Argument for ' + funcName + ' was not provided: "' + argName + '".';
        }
    }
    static NOT_NULL(argument, funcName, argName) {
        if (argument == null) {
            if (!funcName)
                funcName = '???';
            if (!argName)
                argName = '???';
            throw 'Null argument for ' + funcName + ': "' + argName + '".';
        }
    }
} // HArgChecking
//# sourceMappingURL=HArgChecking.js.map