Boolean Argument
class BooleanArgument<T>(name: String, suggestion: SuggestionAction<T>?, action: ContextAction<T>?) : Argument<Boolean, T>
Content copied to clipboard
Boolean argument. It must take true or false. If the input value is neither true nor false (not a valid expression of a boolean), an error will be displayed on the client side, and even if you try to execute it, it will not be accepted. Expected input: true
false
TRUE
'False'
See also
Parameters
name
Name of argument.
suggestion
Lambda expression for tab completion of its arguments.
Check the following for the specifications of other arguments.
Constructors
BooleanArgument
Link copied to clipboard
fun <T> BooleanArgument(name: String, suggestion: SuggestionAction<T>? = null, action: ContextAction<T>? = null)
Content copied to clipboard