FloatArgument

fun <T> FloatArgument(name: String, min: Float = Float.MIN_VALUE, max: Float = Float.MAX_VALUE, suggestion: SuggestionAction<T>? = null, action: ContextAction<T>? = null)

Parameters

name

Name of argument.

min

The lowest possible value for this argument.

max

The highest possible value for this argument.

suggestion

Lambda expression for tab completion of its arguments.

Check the following for the specifications of other arguments.