OptionalBool


class OptionalBool


Represents a boolean value that can also be undefined.

Summary

Constants

const Int
False = 0

The boolean value {@code false}.

const Int
True = 1

The boolean value {@code true}.

const Int

No boolean value is specified.

Public companion functions

String
toString(value: Int)

Constants

False

const val False = 0: Int

The boolean value {@code false}.

True

const val True = 1: Int

The boolean value {@code true}.

Undefined

const val Undefined = 2: Int

No boolean value is specified.

Public companion functions

toString

Added in 1.0.0-alpha05
fun toString(value: Int): String