芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/app.optimyar.com/backend/node_modules/opentype.js/src/check.js
// Run-time checking of preconditions. function fail(message) { throw new Error(message); } // Precondition function that checks if the given predicate is true. // If not, it will throw an error. function argument(predicate, message) { if (!predicate) { fail(message); } } export { fail, argument, argument as assert }; export default { fail, argument, assert: argument };