Skip to content

lit

Dokka 2.2.0 generates this reference of the Kotlin spec builder during each site build from the Kotlin sources, and its summary lists every class and function. The guide shows the builder in use, the Java builder's reference covers the handles, types and expressions it shares, and the extensions read the data.

fun lit(value: Long): IntExpr

An integer literal.


fun lit(value: Double): FloatExpr

A float literal.


fun lit(value: String): StringExpr

A string literal.