src/schema/v0026.js
function get_property(obj, path) {
				if(!is_object(obj)) { return error('get_property(obj, ...) not object: '+ obj); }
				if(!is_string(path)) { return error('get_property(..., path) not string: '+ path); }
				return path.split('.').reduce(get_property_step, obj);
			}
function get_property(obj, path) {
				if(!is_object(obj)) { return error('get_property(obj, ...) not object: '+ obj); }
				if(!is_string(path)) { return error('get_property(..., path) not string: '+ path); }
				return path.split('.').reduce(get_property_step, obj);
			}
function get_property ( obj , path ) { if ( ! is_object ( obj ) ) { return error ( 'get_property(obj, ...) not object: ' + obj ) ; } if ( ! is_string ( path ) ) { return error ( 'get_property(..., path) not string: ' + path ) ; } return path . split ( '.' ) . reduce ( get_property_step , obj ) ; }
Get value of property from provided object using a path.
@param obj {object} The object from where to find the value.
@param path {string} The path to the value in object.
@returns {mixed} The value from the object at the end of path or `undefined` if any part is missing.
Get value of property from provided object using a path .