智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
LightingSystemApp-serial/.svn/pristine/fd/fdba3d949673f95d166c055bce4...

26 lines
474 B

var objToStr = require('./objToStr');
var each = require('./each');
exports = function(val) {
return !!map[objToStr(val)];
};
var map = {};
each(
[
'Int8Array',
'Int16Array',
'Int32Array',
'Uint8Array',
'Uint8ClampedArray',
'Uint16Array',
'Uint32Array',
'Float32Array',
'Float64Array'
],
function(val) {
map['[object ' + val + ']'] = true;
}
);
module.exports = exports;