Sha256: d4f273a9a459c10af8f1d6e96532cc700d3ba9740bc3784c3bd72b0308e7a437
Contents?: true
Size: 424 Bytes
Versions: 7
Compression:
Stored size: 424 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = assertNode; var _isNode = require("../validators/isNode"); function assertNode(node) { if (!(0, _isNode.default)(node)) { var _node$type; const type = (_node$type = node == null ? void 0 : node.type) != null ? _node$type : JSON.stringify(node); throw new TypeError(`Not a valid node of type "${type}"`); } }
Version data entries
7 entries across 7 versions & 1 rubygems