[Pkg-javascript-devel] is-generator-fn

Aarti Kashyap kaarti.sr at gmail.com
Sun Jan 8 02:24:39 UTC 2017


Added description to the is-generator function.


On Sat, Jan 7, 2017 at 10:35 PM, Pirate Praveen <praveen at onenetbeyond.org>
wrote:

> 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
> ```
>
>
>
> --
> Pkg-javascript-devel mailing list
> Pkg-javascript-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/
> pkg-javascript-devel
>



-- 
This is my Footrr <http://footrr.com/l/4823/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20170108/56d64002/attachment.html>


More information about the Pkg-javascript-devel mailing list