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 645B

123456789101112131415161718192021222324252627282930313233
  1. # is-generator-fn [![Build Status](https://travis-ci.org/sindresorhus/is-generator-fn.svg?branch=master)](https://travis-ci.org/sindresorhus/is-generator-fn)
  2. > Check if something is a [generator function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*)
  3. ## Install
  4. ```
  5. $ npm install is-generator-fn
  6. ```
  7. ## Usage
  8. ```js
  9. const isGeneratorFn = require('is-generator-fn');
  10. isGeneratorFn(function * () {});
  11. //=> true
  12. isGeneratorFn(function () {});
  13. //=> false
  14. ```
  15. ## Related
  16. - [is](https://github.com/sindresorhus/is) - Type check values
  17. ## License
  18. MIT © [Sindre Sorhus](https://sindresorhus.com)