UNPKG

mongodb-stitch

Version:

[![Join the chat at https://gitter.im/mongodb/stitch](https://badges.gitter.im/mongodb/stitch.svg)](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

14 lines 418 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Assertions = (function () { function Assertions() { } Assertions.keyPresent = function (key, object) { if (object[key] === undefined) { throw new Error("expected " + key + " to be present"); } }; return Assertions; }()); exports.default = Assertions; //# sourceMappingURL=Assertions.js.map