Class: Value

index.Value

A value represents a primitive in KDL, i.e. a string, boolean, number, or null

Values are always tied to an entry.

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Value(value): Value

Parameters

NameType
valuenull | string | number | boolean

Returns

Value

Defined in

src/model/value.js:29

Properties

representation

representation: undefined | string

String representation of the value

Defined in

src/model/value.js:24


value

Readonly value: null | string | number | boolean

The value itself

Defined in

src/model/value.js:36

Methods

clone

clone(): Value

Create an identical copy of this value

Returns

Value

Defined in

src/model/value.js:51