function baseGet(object, path) {
  path = Object(_castPath_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(path, object);

  var index = 0,
      length = path.length;

  while (object != null && index < length) {
    object = object[Object(_toKey_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(path[index++])];
  }
  return (index && index == length) ? object : undefined;
}
Used for built-in method references.