智能照明系统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/17/175bdbcbc8c39a294506087d60d...

14 lines
380 B

var isObj = require('./isObj');
var isArr = require('./isArr');
var isFn = require('./isFn');
var has = require('./has');
exports = function(val) {
if (!isObj(val)) return false;
var ctor = val.constructor;
if (!isFn(ctor)) return false;
if (!has(ctor.prototype, 'isPrototypeOf')) return false;
return !isArr(val) && !isFn(val);
};
module.exports = exports;