Utility to safely access values on a deeply nested structure. If path doesn't exist, return undefined.
undefined
const literal = dataGet([{key:{prop:1}}], '0.key.prop') // === 1;
the structure to search.
the path to the value delimited by '.'
'.'
Generated using TypeDoc
Utility to safely access values on a deeply nested structure. If path doesn't exist, return
undefined
.Example