artdaq_node_server  v1_00_08
 All Classes Namespaces Files Variables Pages
_isPrototype.js
1 
2 var objectProto = Object.prototype;
3 
11 function isPrototype(value) {
12  var Ctor = value && value.constructor,
13  proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
14 
15  return value === proto;
16 }
17 
18 module.exports = isPrototype;