accepts
open fun accepts(argument: CommandValueArgument, commandArgumentContext: CommandArgumentContext?): Boolean
Checks whether this CommandValueParameter accepts argument.
An argument can be accepted if:
CommandValueArgument.type is subtype of, or equals to CommandValueParameter.type (nullability considered), or
CommandValueArgument.typeVariants produces
Return
true
if argument may be accepted through any approach mentioned above.