realtype
Can be used to distinguish between these types: boolean, number, string, function, array, date, regexp, object, error.
Usage
npm i --save realtype
var realtype = ;;// => array
API
: 'boolean' | 'number' | 'string' | 'function' | 'array' | 'date' | 'regexp' | 'object' | 'error'
Return real type.
License
MIT