ArgumentTypeUtils

Functions

Link copied to clipboard
inline fun <T> fromReifiedType(context: CommandBuildContext): ArgumentType<T>

Converts the given reified type T to an ArgumentType. Note that this function fails if there is no corresponding ArgumentType mapped to T.