mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-23 06:14:45 +00:00
.
This commit is contained in:
parent
9fff29ba6c
commit
00c3b50fca
7278 changed files with 0 additions and 1778943 deletions
33
node_modules/is-generator-fn/readme.md
generated
vendored
33
node_modules/is-generator-fn/readme.md
generated
vendored
|
@ -1,33 +0,0 @@
|
|||
# is-generator-fn [](https://travis-ci.org/sindresorhus/is-generator-fn)
|
||||
|
||||
> Check if something is a [generator function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*)
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install is-generator-fn
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const isGeneratorFn = require('is-generator-fn');
|
||||
|
||||
isGeneratorFn(function * () {});
|
||||
//=> true
|
||||
|
||||
isGeneratorFn(function () {});
|
||||
//=> false
|
||||
```
|
||||
|
||||
|
||||
## Related
|
||||
|
||||
- [is](https://github.com/sindresorhus/is) - Type check values
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
Loading…
Add table
Add a link
Reference in a new issue