Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SimpleValue

import { SimpleValue } from "https://raw.githubusercontent.com/aaronhuggins/cbor-redux/0c8b3f4fa619fee986dd91e254d999fc9cfd396e/mod.ts";

Convenience class for structuring a simple value.

class SimpleValue {
constructor(value: number);
semantic:
| "reserved"
| "unassigned"
| "false"
| "true"
| "null"
| "undefined";
value: number;
 
toPrimitive(): any;
 
static create(value:
| boolean
| number
| null
| undefined
);
}

§Constructors

§
new SimpleValue(value: number)
[src]

§Properties

§
semantic: "reserved" | "unassigned" | "false" | "true" | "null" | "undefined"
[src]
§
value: number
[src]

§Methods

§
toPrimitive(): any
[src]

§Static Methods

§
create(value: boolean | number | null | undefined)
[src]