how to check type of value in a java script file

JavaScript
$ npm install --save-dev flow-bin
Source

Also in JavaScript: