ez-type
Easily determine type.
Install
npm install ez-type
Usage
const ezType = //"object" //"array" //"null" //"undefined" //"NaN" //"number" //"string" //avoid common type pitfallstypeof //"object"typeof null //"object"typeof NaN //"number"