artdaq_node_server  v1_00_09
 All Classes Namespaces Files Variables Pages
property.js
1 var baseProperty = require('./_baseProperty'),
2  basePropertyDeep = require('./_basePropertyDeep'),
3  isKey = require('./_isKey'),
4  toKey = require('./_toKey');
5 
28 function property(path) {
29  return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
30 }
31 
32 module.exports = property;