Skip to content

Scope.param

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 param(name: String): DynField

param name, whose value and type the caller decides.


fun param(name: String, default: IntExpr): IntField<I>

param name = default, an integer.


fun param(name: String, default: FloatExpr): FloatField<F>

param name = default, a float.


fun param(name: String, default: NumExpr): NumField<N>

param name = default, an integer or float.


fun param(name: String, default: StringExpr): StringField<S>

param name = default, a string.


fun param(target: Field<*>): DynField

param p through a handle, as Iris.param.


fun param(target: Field<*>, default: Expr): DynField

param p = default through a handle, as Iris.param.