Values
The Values
type is the data structure representing all the keyed values in a Store
.
{[valueId: Id]: Value}
A Values
object is used when setting values with the setValues
method, and when getting them back out again with the getValues
method. A Values
object is a regular JavaScript object containing individual Value
objects, keyed by their Id
.
Example
import type {Values} from 'tinybase';
export const values: Values = {open: true, employees: 4};
Since
v3.0.0