This will be a quick post on the lodash has method, a simple object method that can be used to check if an object has a certain path to it or not. If you are more interested in what lodash has to offer in general you might want to check out my mian post on lodash in general.
So the lodash has method can be used by just passing an object followed by a string that represents the path of a property of an object. In the event that the property is there it will return true, else it will not.
So this object method can be used as a way to feature test if a path exist in an object and if not can be used with another method like the lodash set method to set the path.