API reference / @jsprismarine/script-host / values
values
Classes
Type Aliases
ScriptValue
ScriptValue =
undefined|null|boolean|number|string|ScriptHandle
Defined in: script-host/src/values.ts:34
A value as it crosses between the host and a script.
Variables
ValueTag
constValueTag:object
Defined in: script-host/src/values.ts:10
The tag bytes of the value encoding.
Type Declaration
False
readonlyFalse:2=2
Handle
readonlyHandle:6=6
Null
readonlyNull:1=1
Number
readonlyNumber:4=4
String
readonlyString:5=5
True
readonlyTrue:3=3
Undefined
readonlyUndefined:0=0