Skip to content

About

check if an AST node is a function of some sort

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

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

About

check if an AST node is a function of some sort

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages