UNPKG

@qvant/qui-max

Version:

A Vue 3 Design system for Web.

13 lines (12 loc) 392 B
import castPath from "./_castPath.js"; import toKey from "./_toKey.js"; function baseGet(object, path) { path = castPath(path, object); var index = 0, length = path.length; while (object != null && index < length) { object = object[toKey(path[index++])]; } return index && index == length ? object : void 0; } export { baseGet as default }; //# sourceMappingURL=_baseGet.js.map