Data Types

ThingsDB uses the following data types:

type Description
bool Booleans are either true or false.
bytes Byte sequence.
closure Closures can be used as functions or to consume items from a thing, list, tuple or set.
error An object containing information about an error.
float Floating point type.
info Return value for all *_info() functions.
int Integer type.
list Mutable array type.
nil Used to define a null value, or no value at all.
regex Regular expression.
set Unordered group of unique things.
str String type.
thing Object with key value pairs.
tuple Nested and immutable list.
Type Type are things with pre-defined properties.
<Type> Wrapped thing by a Type.