Why Nostr? What is Njump?
2023-10-22 14:45:38

Scott H. on Nostr: As long as you stay within keys, and ignore values, objects can be used as a graph ...

As long as you stay within keys, and ignore values, objects can be used as a graph structure. Decomposed graphs are triples, a pile of decomposed knowledge of relations. The feature is that triples do not require order; however, if you assemble them into a graph with objects, you have to do tricks if the ID path doesn't exist. If you use _setWith, it you can default to an Object. _set assumes arrays for ints.

https://lodash.com/docs/#set
Author Public Key
npub1uvngpgxxg7qxguq7fy5k52cf6xk6tvnkx78nxpsqelqpry90atrsycdplu