Object to search in
String key or array of string to form path
Optional
Default value if path is not exists. Does not replace undefined values
Value in path or default value
objectGetProperty
Gets the value at path of object.
0.0.47
Use optional chaining instead
const value = object?.property?.subProperty ?? "N/A"; Copy
const value = object?.property?.subProperty ?? "N/A";
Object to search in