dist/utilify.esm.js
function getDescendantProp(obj, path) {
        if (!validateHelpers.isPlainObject(obj)) {
            throw new TypeError('\'obj\' param must be an plain object');
        }

        return path.split('.').reduce(function (acc, part) {
            return acc && acc[part];
        }, obj);
    }
function getDescendantProp(obj, path) {
        if (!validateHelpers.isPlainObject(obj)) {
            throw new TypeError('\'obj\' param must be an plain object');
        }

        return path.split('.').reduce(function (acc, part) {
            return acc && acc[part];
        }, obj);
    }
function getDescendantProp ( obj , path ) { if ( ! validateHelpers . isPlainObject ( obj ) ) { throw new TypeError ( '\'obj\' param must be an plain object' ) ; } return path . split ( '.' ) . reduce ( function ( acc , part ) { return acc && acc [ part ] ; } , obj ) ; }
A function to take a string written in dot notation style, and use it to
find a nested object property inside of an object.

@param {Object} obj    The object to search
@param {String} path   A dot notation style parameter reference (ie 'a.b.c')

@returns the value of the property in question
A function to take a string written in dot notation style and use it to find a nested object property inside of an object .