The type of stored values.
The type of keys at each level of the path. Defaults to string | symbol | number.
The type of stored values.
The type of keys at each level of the path. Defaults to string | symbol | number.
FunctiongetFlat
A flat key produced by flattenKey.
The stored value, or undefined if not found.
FunctiongetFlatKey
The value to query.
The flat key, or undefined if not found.
FunctionsetFlat
The value to store.
A flat key produced by flattenKey.
Functionhas
Ordered path from outermost to innermost key.
FunctionhasFlat
A flat key produced by flattenKey.
Functionremove
Ordered path from outermost to innermost key.
FunctionflattenKey
The key path to serialize.
The flat key, or undefined if the path is invalid.
FunctionscopeKey
The flat key to convert.
The key path, or undefined if conversion fails.
Convert a flat key back into a key path. Reverses flattenKey.
"k0|k1|k2" becomes [k0, k1, k2].ProtectedfindProtectedget
TurboNestedMap
Description
A map of arbitrary nesting depth, addressed via
...keyspaths.