volva
Version:
Easier type checks for JS/TS variables.
11 lines • 326 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isMap = void 0;
const isMap = (input) => {
if (input === undefined)
throw new Error('Missing argument');
return input instanceof Map;
};
exports.isMap = isMap;
exports.default = exports.isMap;
//# sourceMappingURL=maps.js.map