00001 var baseProperty = require('./_baseProperty'),
00002 basePropertyDeep = require('./_basePropertyDeep'),
00003 isKey = require('./_isKey'),
00004 toKey = require('./_toKey');
00005
00028 function property(path) {
00029 return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
00030 }
00031
00032 module.exports = property;