functionOrTag
fun ArgumentReader<ServerCommandSource, DefaultArgumentDescriptor<CommandFunctionArgumentType>>.functionOrTag(): Pair<Identifier, Either<CommandFunction, Collection<CommandFunction>>>
Content copied to clipboard
Reads the matched CommandFunctions from the argument in the receiver ArgumentReader.
Return pair contains the selected Identifier and either the matched CommandFunction if the function was matched, or a collection of CommandFunctions if a tag containing those functions was matched.
Author
Cypher121