accepts

open fun accepts(argument: CommandValueArgument, commandArgumentContext: CommandArgumentContext?): Boolean

Checks whether this CommandValueParameter accepts argument.

An argument can be accepted if:

Return

true if argument may be accepted through any approach mentioned above.

See also