🚚 A really small and type-safe (requires TypeScript >= 4.1.3) function, that gets a nested value from an object using a path string (like "a.b[0].d"). If value is 'undefined' or unreachable returns the placeholder instead.
javascript typescript object deep nested-objects ava get nested nested-properties dot-notation property-accessors dot-prop deep-properties object-path deep-property get-deep dot-properties
-
Updated
Jan 9, 2022 - TypeScript