Show More
Commit Description:
move to rails 7 and ruby 3.0.2
Commit Description:
move to rails 7 and ruby 3.0.2
File last commit:
Show/Diff file:
Action:
node_modules/estree-is-function/README.md | 34 lines | 965 B | text/x-minidsrc | MarkdownLexer |

estree-is-function

check if an AST node is a function of some sort.

npm
travis
standard

Install

npm install estree-is-function

Usage

var isFunction = require('estree-is-function')
isFunction(parse('function a () {}')) // true
isFunction(parse('(function () {})')) // true
isFunction(parse('(() => {})')) // true
isFunction(parse('var x')) // false

License

Apache-2.0