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

Value

import type { Value } from "https://googleapis.deno.dev/v1/script:v1.ts";

Value represents a dynamically typed value which is the outcome of an executed script.

interface Value {
boolValue?: boolean;
bytesValue?: Uint8Array;
dateValue?: bigint;
listValue?: ListValue;
nullValue?: "NULL_VALUE";
numberValue?: number;
protoValue?: {
[key: string]: any;
}
;
stringValue?: string;
structValue?: Struct;
}

§Properties

§
boolValue?: boolean
[src]

Represents a boolean value.

§
bytesValue?: Uint8Array
[src]

Represents raw byte values.

§
dateValue?: bigint
[src]

Represents a date in ms since the epoch.

§
listValue?: ListValue
[src]

Represents a repeated Value.

§
nullValue?: "NULL_VALUE"
[src]

Represents a null value.

§
numberValue?: number
[src]

Represents a double value.

§
protoValue?: {
[key: string]: any;
}
[src]

Represents a structured proto value.

§
stringValue?: string
[src]

Represents a string value.

§
structValue?: Struct
[src]

Represents a structured value.