dist/hawtio-utilities.js
function pathGet(object, paths) {
        var pathArray = (angular.isArray(paths)) ? paths : (paths || "").split(".");
        var value = object;
        angular.forEach(pathArray, function (name) {
            if (value) {
                try {
                    value = value[name];
                }
                catch (e) {
                    // ignore errors
                    return null;
                }
            }
            else {
                return null;
            }
        });
        return value;
    }
function pathGet(object, paths) {
        var pathArray = (angular.isArray(paths)) ? paths : (paths || "").split(".");
        var value = object;
        angular.forEach(pathArray, function (name) {
            if (value) {
                try {
                    value = value[name];
                }
                catch (e) {
                    // ignore errors
                    return null;
                }
            }
            else {
                return null;
            }
        });
        return value;
    }
function pathGet ( object , paths ) { var pathArray = ( angular . isArray ( paths ) ) ? paths : ( paths || "" ) . split ( "." ) ; var value = object ; angular . forEach ( pathArray , function ( name ) { if ( value ) { try { value = value [ name ] ; } catch ( e ) { // ignore errors return null ; } } else { return null ; } } ) ; return value ; }
Navigates the given set of paths in turn on the source object
and returns the last most value of the path or null if it could not be found.

@method pathGet
@for Core
@static
@param {Object} object the start object to start navigating from
@param {Array} paths an array of path names to navigate or a string of dot separated paths to navigate
@return {*} the last step on the path which is updated
Navigates the given set of paths in turn on the source object and returns the last most value of the path or null if it could not be found .