UNPKG

jc-biz-components

Version:

jc component library based on Antd

14 lines (10 loc) 320 B
const toString = Object.prototype.toString export const isNumber = function(obj) { return toString.call(obj) === '[object Number]' } export const isString = function(obj) { return toString.call(obj) === '[object String]' } export const isArray = function(obj) { return toString.call(obj) === '[object Array]' }