Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

assertNode.js 424B

1234567891011121314151617
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = assertNode;
  6. var _isNode = require("../validators/isNode");
  7. function assertNode(node) {
  8. if (!(0, _isNode.default)(node)) {
  9. var _node$type;
  10. const type = (_node$type = node == null ? void 0 : node.type) != null ? _node$type : JSON.stringify(node);
  11. throw new TypeError(`Not a valid node of type "${type}"`);
  12. }
  13. }