UNPKG

ionic-native

Version:

Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support

11 lines 263 B
export function get(obj, path) { for (var i = 0, path = path.split('.'), len = path.length; i < len; i++) { if (!obj) { return null; } obj = obj[path[i]]; } return obj; } ; //# sourceMappingURL=util.js.map