IntValue

IntValue

inline class IntValue

Holds a 32-bit integer Value.

Fields

Name Description
val unsignedValue: UInt
val value: Int

Constructors

<init>

constructor(value: Int)

Holds a 32-bit integer Value.

Parameters

Name Description
value: Int

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

CompanionObject

IntValue

inline class IntValue

Holds a 32-bit integer Value.

Fields

Name Description
val ZERO: IntValue