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.

is-set.js 391B

1234567891011121314
  1. "use strict";
  2. /**
  3. * Returns `true` when the argument is an instance of Set, `false` otherwise
  4. *
  5. * @alias module:samsam.isSet
  6. * @param {*} val - A value to examine
  7. * @returns {boolean} Returns `true` when the argument is an instance of Set, `false` otherwise
  8. */
  9. function isSet(val) {
  10. return (typeof Set !== "undefined" && val instanceof Set) || false;
  11. }
  12. module.exports = isSet;