We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
This object contains all information regarding an argument to the command handler.
count number or string
The amount of recurrences of the argument. '*' if arbitrary. If the argument is marked as required, '*' implies at least one.
'*'
default any
Default value to use for optional parameters which are not provided. Has to be nil on a required parameter.
nil
name string
The name of the parameter. This is only used in syntax generation and does not need to correspond to the named variable of the function.
options table
Table of options to pass to the argument.type.check and argument.type.generate functions.
argument.type.check
argument.type.generate
required boolean
true if the argument is required, false if not.
true
false
type argument_type
The type object representing the argument.