artdaq_node_server  v1_00_09
 All Classes Namespaces Files Variables Pages
_matchesStrictComparable.js
1 
10 function matchesStrictComparable(key, srcValue) {
11  return function(object) {
12  if (object == null) {
13  return false;
14  }
15  return object[key] === srcValue &&
16  (srcValue !== undefined || (key in Object(object)));
17  };
18 }
19 
20 module.exports = matchesStrictComparable;