estree-is-function

WebJar for estree-is-function

License

License

GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

estree-is-function
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

estree-is-function
WebJar for estree-is-function
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/goto-bus-stop/estree-is-function

Download estree-is-function

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/estree-is-function/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>estree-is-function</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/estree-is-function/
implementation 'org.webjars.npm:estree-is-function:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/estree-is-function/
implementation ("org.webjars.npm:estree-is-function:1.0.0")
'org.webjars.npm:estree-is-function:jar:1.0.0'
<dependency org="org.webjars.npm" name="estree-is-function" rev="1.0.0">
  <artifact name="estree-is-function" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='estree-is-function', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "estree-is-function" % "1.0.0"
[org.webjars.npm/estree-is-function "1.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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

Versions

Version
1.0.0