UNPKG

core-mvc

Version:

Simple but powerful MVC framework for NodeJS.

16 lines (15 loc) 348 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.assert = void 0; function assert(condition, msg) { if (!condition) { if (typeof msg === 'string') { throw new Error(msg); } else { throw msg; } } } exports.assert = assert; exports.default = assert;