Parameter

open fun <R : Any> Parameter(customName: String? = null, initialValue: R? = null): Parameter<R>(source)

Creates a Parameter property with the specified constraints and associates it with a custom name or the property name.

Return

A Parameter instance with the assigned type and optional custom name.

Parameters

customName

An optional custom name to be used as the key for this parameter. If null, the property name will be used.