chensenlai 10988628a0 语音房项目初始化 5 years ago
..
test 10988628a0 语音房项目初始化 5 years ago
.eslintrc 10988628a0 语音房项目初始化 5 years ago
.jscs.json 10988628a0 语音房项目初始化 5 years ago
.npmignore 10988628a0 语音房项目初始化 5 years ago
.nvmrc 10988628a0 语音房项目初始化 5 years ago
.travis.yml 10988628a0 语音房项目初始化 5 years ago
CHANGELOG.md 10988628a0 语音房项目初始化 5 years ago
LICENSE 10988628a0 语音房项目初始化 5 years ago
Makefile 10988628a0 语音房项目初始化 5 years ago
README.md 10988628a0 语音房项目初始化 5 years ago
index.js 10988628a0 语音房项目初始化 5 years ago
package.json 10988628a0 语音房项目初始化 5 years ago
testling.html 10988628a0 语音房项目初始化 5 years ago

README.md

#is-generator-function Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

browser support

Is this a native generator function?

Example

var isGeneratorFunction = require('is-generator-function');
assert(!isGeneratorFunction(function () {}));
assert(!isGeneratorFunction(null));
assert(isGeneratorFunction(function* () { yield 42; return Infinity; });

Tests

Simply clone the repo, npm install, and run npm test