Skip to content

Simple

Simple represents a simple value identified by an integer from 0 to 255.

Importing

import { Simple } from "@tai-kun/surrealdb/cbor";

.constructor()

Creates a new Simple object.

new Simple(value: number);

Arguments

value

An integer value between 0 and 255, inclusive.

Return Value

When called via new, Simple returns its instance.

.value instance property

An integer value between 0 and 255 that identifies the Simple object.

Notes

Refer to the following documents for further information: