[Pkg-javascript-devel] is-generator-fn
Pirate Praveen
praveen at onenetbeyond.org
Sat Jan 7 17:05:00 UTC 2017
On ശനി 07 ജനുവരി 2017 02:53 വൈകു, Aarti Kashyap wrote:
> Completed all the changes as per the mentioned mail above.
Current description is not clear. I can only think of adding this as
extended description. If anyone else has a better idea, please share.
## Usage
```js
const isGeneratorFn = require('is-generator-fn');
isGeneratorFn(function * () {});
//=> true
isGeneratorFn(function () {});
//=> false
```
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20170107/ac4ecc5b/attachment.sig>
More information about the Pkg-javascript-devel
mailing list