get-value icon indicating copy to clipboard operation
get-value copied to clipboard

Use property paths (`a.b.c`) get a nested value from an object.

Results 9 get-value issues
Sort by recently updated
recently updated
newest added

const obj = { a: {b: 3} }; const value = get(obj, 'a.b', {default: 0)); // value equals -> undefined const value = get(obj, 'a.b', 0); // value equals ->...

bug

This is unfortunately... 2 diffrent major version of isObject is being used... ![image](https://user-images.githubusercontent.com/1148376/134007642-3e7a6cae-dd51-4fe6-9bdd-3c3bfc11f61e.png) Could you update all dependencies?

Would like to see how this is compared to native optional chaining in performances. Maybe would like to see some comment in the readme that suggest optional chaining if possible

[dotty](https://www.npmjs.com/dotty) also supports dot-key access (through the array notation). Did not re-generate README.md, as the necessary dependencies / scripts don't seem to be declared in the package.json.

Bumps [dot-prop](https://github.com/sindresorhus/dot-prop) from 4.2.0 to 5.2.0. Release notes Sourced from dot-prop's releases. v5.2.0 Allow specifying undefined as the object for .get() and .has() (#58) a6be343 https://github.com/sindresorhus/dot-prop/compare/v5.1.1...v5.2.0 v5.1.1 Prevent setting/getting some...

dependencies

does not include module declaration thx

Hello. Thank you for writing these modules, I was previously using dot-path, but am unable to since it moved to ESM. One thing I've noticed about get-value is that it...

This would be so much more usable for me if you could provide a functional style friendly wrapper. It would be very simple to do this. Basically provide some parallel...