OptionalInt

abstract class OptionalInt : OptionalValue

An optional integer value.

Functions

getValue
Link copied to clipboard
abstract fun getValue(): Int
Gets the current value.
isAvailable
Link copied to clipboard
abstract fun isAvailable(): Boolean
Tells whether the value is currently available.