Class: Value

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

Values are always tied to an entry.

Constructors

new Value()

new Value(value): Value

Parameters

value: null | 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