verify type file javascript code example Example: how to check type of value in a java script file $ npm install --save-dev flow-bin