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.

index.js 1.1KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /**
  2. * lodash 3.0.2 (Custom Build) <https://lodash.com/>
  3. * Build: `lodash modern modularize exports="npm" -o ./`
  4. * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
  5. * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  6. * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  7. * Available under MIT license <https://lodash.com/license>
  8. */
  9. /**
  10. * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.
  11. * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
  12. *
  13. * @static
  14. * @memberOf _
  15. * @category Lang
  16. * @param {*} value The value to check.
  17. * @returns {boolean} Returns `true` if `value` is an object, else `false`.
  18. * @example
  19. *
  20. * _.isObject({});
  21. * // => true
  22. *
  23. * _.isObject([1, 2, 3]);
  24. * // => true
  25. *
  26. * _.isObject(1);
  27. * // => false
  28. */
  29. function isObject(value) {
  30. // Avoid a V8 JIT bug in Chrome 19-20.
  31. // See https://code.google.com/p/v8/issues/detail?id=2291 for more details.
  32. var type = typeof value;
  33. return !!value && (type == 'object' || type == 'function');
  34. }
  35. module.exports = isObject;