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.

assert-matcher.js 324B

1234567891011121314151617
  1. "use strict";
  2. var isMatcher = require("./is-matcher");
  3. /**
  4. * Throws a TypeError when `value` is not a matcher
  5. *
  6. * @private
  7. * @param {*} value The value to examine
  8. */
  9. function assertMatcher(value) {
  10. if (!isMatcher(value)) {
  11. throw new TypeError("Matcher expected");
  12. }
  13. }
  14. module.exports = assertMatcher;