is-java-keyword

1.0.2 • Public • Published

npm version Dependencies

is-java-keyword

Determine whether a string is a Java keyword.

Install

https://nodei.co/npm/is-java-keyword.png

Use

// load the module
var isKeyword = require('index.js');
 
// check a keyword
isKeyword("while"); // true

Test

To execute tests, first install the project dependencies:

$ npm install

Then, run the tests

$ npm test

/is-java-keyword/

    Package Sidebar

    Install

    npm i is-java-keyword

    Weekly Downloads

    2

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • toubou