EmptyValue

EmptyValue

object EmptyValue

Represents an empty value. Should only ever be used as a return-type for a void/Unit kwasm.api.HostFunction.

Fields

Name Description
val value: Byte

Extensions

checkType

fun Value<*>.checkType(expected: ValueType)

Checks the receiving Value against an expected ValueType

Receiver

Name Description
Value<*>

Parameters

Name Description
expected: ValueType

ReturnValue

Name Description
Unit

isType

fun Value<*>.isType(expected: ValueType): Boolean

Checks the receiving Value against an expected ValueType

Receiver

Name Description
Value<*>

Parameters

Name Description
expected: ValueType

ReturnValue

Name Description
Boolean