Skip to content

Keypaths!

Compare
Choose a tag to compare
@bryanmylee bryanmylee released this 11 Dec 04:07
· 41 commits to main since this release
8e38e48

Access nested values by specifying a keypath.

Object properties can be accessed with dot notation, and arrays can be indexed with bracket notation.

const email = keyed(settings, "profiles[0].email");