TypeVariant

Intrinsic variant of an CommandValueArgument.

The intrinsic reveals the independent conversion property of this type. Conversion with TypeVariant is out of any contextual resource, except the output type declared by the TypeVariant itself.

TypeVariant is not necessary for all CommandValueArguments.

Parameters

OutType

the type this TypeVariant can map a argument Message to .

See also

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun mapValue(valueArgument: Message): OutType

Properties

Link copied to clipboard
abstract val outType: KType

The reified type of OutType