Value
The Value
type is the data structure representing the data in a single keyed value.
string | number | boolean
A Value
is used when setting a value with the setValue
method, and when getting it back out again with the getValue
method. A Value
is a JavaScript string, number, or boolean.
Example
import type {Value} from 'tinybase';
export const value: Value = 'dog';
Since
v3.0.0