- property<K>(key): (<T>(object) => PropertyAtPath<T, [K]>)
Returns (<T>(object) => PropertyAtPath<T, [K]>)
- <T>(object): PropertyAtPath<T, [K]>
Returns PropertyAtPath<T, [K]>
- property<P>(path): (<T>(object) => PropertyAtPath<T, P>)
Returns (<T>(object) => PropertyAtPath<T, P>)
- <T>(object): PropertyAtPath<T, P>
Returns PropertyAtPath<T, P>
Creates a function that returns the value at
path
of a given object.Differences from lodash:
path
Contribution to minified bundle size, when it is the only function imported: