TinyBase logoTinyBase

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

const value: Value = 'dog';

Since

v3.0.0