1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4  value: true
5});
6exports.get = get;
7/** `lodash.get` */
8function get(obj, key) {
9  const branches = key.split('.');
10  let current = obj;
11  let branch;
12  while (branch = branches.shift()) {
13    if (!(branch in current)) {
14      return undefined;
15    }
16    current = current[branch];
17  }
18  return current;
19}
20//# sourceMappingURL=obj.js.map