@astronautlabs/jsonpath
Version:
Query JavaScript objects with JSONPath expressions. Robust / safe JSONPath engine for Node.js.
15 lines • 415 B
JavaScript
var assert = /** @class */ (function () {
function assert() {
}
assert.ok = function (predicate, message) {
if (!predicate)
throw new Error(message);
};
assert.equal = function (value, expected, message) {
if (value !== expected)
throw new Error(message);
};
return assert;
}());
export { assert };
//# sourceMappingURL=assert.js.map