@param object - Object to set the `path` value.
@param path - Path of the property in the object, using `.` to separate each nested key. Use `\\.` if you have a `.` in the key.
@param value - Value to set at `path`.
+ @returns The object.
@example
```
/**
@param object - Object to delete the `path` value.
@param path - Path of the property in the object, using `.` to separate each nested key. Use `\\.` if you have a `.` in the key.
+ @returns A boolean of whether the property existed before being deleted.
@example
```
//=> {foo: {bar: {y: 'x'}}}
```
*/
- delete(object: {[key: string]: any}, path: string): void;
+ delete(object: {[key: string]: any}, path: string): boolean;
};
export = dotProp;