MCPcopy Index your code
hub / github.com/keepfool/vue-tutorials / getPath

Function getPath

06.Router/basic/js/vue.js:2740–2742  ·  view source on GitHub ↗

* Get from an object from a path string * * @param {Object} obj * @param {String} path

(obj, path)

Source from the content-addressed store, hash-verified

2738 */
2739
2740 function getPath(obj, path) {
2741 return parseExpression(path).get(obj);
2742 }
2743
2744 /**
2745 * Warn against setting non-existent root path on a vm.

Callers 4

getTrackByKeyFunction · 0.70
dataAPIFunction · 0.70
filterByFunction · 0.70
baseCompareFunction · 0.70

Calls 1

parseExpressionFunction · 0.70

Tested by

no test coverage detected