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.

readme.md 543B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # arrify [![Build Status](https://travis-ci.org/sindresorhus/arrify.svg?branch=master)](https://travis-ci.org/sindresorhus/arrify)
  2. > Convert a value to an array
  3. ## Install
  4. ```
  5. $ npm install arrify
  6. ```
  7. ## Usage
  8. ```js
  9. const arrify = require('arrify');
  10. arrify('🦄');
  11. //=> ['🦄']
  12. arrify(['🦄']);
  13. //=> ['🦄']
  14. arrify(new Set(['🦄']));
  15. //=> ['🦄']
  16. arrify(null);
  17. //=> []
  18. arrify(undefined);
  19. //=> []
  20. ```
  21. *Supplying `null` or `undefined` results in an empty array.*
  22. ## License
  23. MIT © [Sindre Sorhus](https://sindresorhus.com)