获取数据类型
any
string
type([]); // 'array' type({}); // 'object' type(''); // 'string' type(type); // 'function' type(undefined); // 'undefined' type(null); // 'null' type(0); // 'number' type(true); // 'boolean'
← pick getParam →