Simple utility function that acts as an enhanced version of the typeof operator by adding support for returning "array" and "null".
npm install typeof-util

typeof operator by adding support for returning "array" and "null". JavaScript UMD and TypeScript declaration file will be generated when building the package.
npm install typeof-util
`$3
`
import typeOf from 'typeof-util';...
typeOf(true) // 'boolean'
typeOf({}) // 'object'
typeOf([]) // 'array'
typeOf(null) // 'null'
``