artdaq_node_server
v1_00_08
|
var object = { 'a': { 'b': 2 } }; var other = _.create({ 'a': _.create({ 'b': 2 }) });
_.has(object, 'a'); // => true
_.has(object, 'a.b'); // => true
_.has(object, ['a', 'b']); // => true
_.has(other, 'a'); // => false