import { getValueType } from 'iflyjs' console.log(getValueType(null)) // output: 'null'
const getValueType = (val: any) => Object.prototype.toString.call(val).split(' ')[1].slice(0, -1).toLowerCase()