to

fun <T> to(valueTransformer: CommanderValueTransformer<T>): T(source)

Convert the value to a specific type (using a CommanderValueTransformer)

Return

the transformed value

Since

0.1.0

Parameters

T

the type of the value

valueTransformer

See also


fun <T> to(valueTransformer: CommanderValueTransformerLambda<T>): T(source)

Convert the value to a specific type (using a CommanderValueTransformerLambda)

Return

the transformed value

Since

0.1.0

Parameters

T

the type of the value

valueTransformer

See also