Provides a way to safely access an object's data / entries using either a dotted accessor string or an array of exact property keys.
Array indexes may only be accessed by number through the array accessor form.
Type of data.
Accessor type.
Return value / Inferred deep access type or any provided default value type.
An object to access entry data.
A dotted string accessor or an array of exact string, number, or symbol property keys.
Optional
(Optional) A default value to return if an entry for accessor is not found.
The value referenced by the accessor.
Provides a way to safely access an object's data / entries using either a dotted accessor string or an array of exact property keys.
Array indexes may only be accessed by number through the array accessor form.