Added description to the is-generator function.

On Sat, Jan 7, 2017 at 10:35 PM, Pirate Praveen <prav...@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@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/>
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to