FloatValue

FloatValue

inline class FloatValue

Holds a 32-bit floating-point Value.

Fields

Name Description
val value: Float

Constructors

<init>

constructor(value: Float)

Holds a 32-bit floating-point Value.

Parameters

Name Description
value: Float

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

FloatValue

inline class FloatValue

Holds a 32-bit floating-point Value.

Fields

Name Description
val ZERO: FloatValue