DoubleValue

DoubleValue

inline class DoubleValue

Holds a 64-bit floating-point Value.

Fields

Name Description
val value: Double

Constructors

<init>

constructor(value: Double)

Holds a 64-bit floating-point Value.

Parameters

Name Description
value: Double

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

DoubleValue

inline class DoubleValue

Holds a 64-bit floating-point Value.

Fields

Name Description
val ZERO: DoubleValue