function deepSet( obj, props, create, val ) {
	var bool;
	var len;
	var v;
	var p;
	var i;

	len = props.length;
	bool = false;
	v = obj;
	for ( i = 0; i < len; i++ ) {
		p = props[ i ];
		if ( isObjectLike( v ) ) {
			if ( !hasOwnProp( v, p ) ) {
				if ( create ) {
					v[ p ] = {};
				} else {
					break;
				}
			}
			if ( i === len-1 ) {
				if ( isFunction( val ) ) {
					v[ p ] = val( v[ p ] );
				} else {
					v[ p ] = val;
				}
				bool = true;
			} else {
				v = v[ p ];
			}
		} else {
			break;
		}
	}
	return bool;
}
Sets a nested property.

@private
@param {ObjectLike} obj - input object
@param {Array} props - list of properties defining a key path
@param {boolean} create - boolean indicating whether to create a path if the key path does not already exist
@param {*} val - value to set
@returns {boolean} boolean indicating if the property was successfully set