Methods
(static) createArrayValue(value) → {LocalValue}
Creates a new LocalValue object with an array.
Name | Type | Description |
---|---|---|
value | Array | The array. |
- Source
- The created LocalValue object.
- Type:
- LocalValue
(static) createBigIntValue(value) → {LocalValue}
Creates a new LocalValue object with a BigInt value.
Name | Type | Description |
---|---|---|
value | BigInt | The BigInt value. |
- Source
- The created LocalValue object.
- Type:
- LocalValue
(static) createBooleanValue(value) → {LocalValue}
Creates a new LocalValue object with a boolean value.
Name | Type | Description |
---|---|---|
value | boolean | The boolean value. |
- Source
- The created LocalValue object.
- Type:
- LocalValue
(static) createChannelValue(value) → {LocalValue}
Creates a new LocalValue object with the given channel value
Name | Type | Description |
---|---|---|
value | ChannelValue | The channel value. |
- Source
- The created LocalValue object.
- Type:
- LocalValue
(static) createDateValue(value) → {LocalValue}
Creates a new LocalValue object with date value.
Name | Type | Description |
---|---|---|
value | string | The date. |
- Source
- The created LocalValue object.
- Type:
- LocalValue
(static) createMapValue(map) → {LocalValue}
Creates a new LocalValue object of map value.
Name | Type | Description |
---|---|---|
map | Map | The map. |
- Source
- The created LocalValue object.
- Type:
- LocalValue
(static) createNullValue() → {LocalValue}
Creates a new LocalValue object with a null value.
- Source
- The created LocalValue object.
- Type:
- LocalValue
(static) createNumberValue(value) → {LocalValue}
Creates a new LocalValue object with a number value.
Name | Type | Description |
---|---|---|
value | number | The number value. |
- Source
- The created LocalValue object.
- Type:
- LocalValue
(static) createObjectValue(map) → {LocalValue}
Creates a new LocalValue object from the passed object.
Name | Type | Description |
---|---|---|
map | Object | The object. |
- Source
- The created LocalValue object.
- Type:
- LocalValue
(static) createRegularExpressionValue(value) → {LocalValue}
Creates a new LocalValue object of regular expression value.
Name | Type | Description |
---|---|---|
value | string | The value of the regular expression. |
- Source
- The created LocalValue object.
- Type:
- LocalValue
(static) createSetValue(value) → {LocalValue}
Creates a new LocalValue object with the specified value.
Name | Type | Description |
---|---|---|
value | Set | The value to be set. |
- Source
- The created LocalValue object.
- Type:
- LocalValue
(static) createSpecialNumberValue(value) → {LocalValue}
Creates a new LocalValue object with a special number value.
Name | Type | Description |
---|---|---|
value | number | The value of the special number. |
- Source
- The created LocalValue object.
- Type:
- LocalValue
(static) createStringValue(value) → {LocalValue}
Creates a new LocalValue object with a string value.
Name | Type | Description |
---|---|---|
value | string | The string value to be stored in the LocalValue object. |
- Source
- The created LocalValue object.
- Type:
- LocalValue
(static) createUndefinedValue() → {LocalValue}
Creates a new LocalValue object with an undefined value.
- Source
- The created LocalValue object.
- Type:
- LocalValue