check-object-property

Simply check if a property inside a nested object is available, otherwise assign a default value.

Browse on unpkg