CommanderValueTransformers

A collection of common CommanderValueTransformer implementations

Since

0.1.0

Properties

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Functions

Link copied to clipboard
fun toBoolean(value: String?): Boolean

Transform a given value to a Boolean

Link copied to clipboard

Transform a given value to a Boolean or return null if the value is not a boolean

Link copied to clipboard
fun toByte(value: String?): Byte

Transform a given value to a Byte

Link copied to clipboard
fun toByteOrNull(value: String?): Byte?

Transform a given value to a Byte or return null if the value is not a byte

Link copied to clipboard
fun toChar(value: String?): Char

Transform a given value to a Char

Link copied to clipboard
fun toCharOrNull(value: String?): Char?

Transform a given value to a Char or return null if the value is not a char

Link copied to clipboard
fun toDouble(value: String?): Double

Transform a given value to a Double

Link copied to clipboard

Transform a given value to a Double or return null if the value is not a double

Link copied to clipboard
fun toFloat(value: String?): Float

Transform a given value to a Float

Link copied to clipboard
fun toFloatOrNull(value: String?): Float?

Transform a given value to a Float or return null if the value is not a float

Link copied to clipboard
fun toInt(value: String?): Int

Transform a given value to a Int

Link copied to clipboard
fun toIntOrNull(value: String?): Int?

Transform a given value to a Int or return null if the value is not an int

Link copied to clipboard
fun toLong(value: String?): Long

Transform a given value to a Long

Link copied to clipboard
fun toLongOrNull(value: String?): Long?

Transform a given value to a Long or return null if the value is not a long

Link copied to clipboard
fun toNegative(value: String?): Number

Transform a given value to a negative Number

Link copied to clipboard
fun toNegativeByte(value: String?): Byte

Transform a given value to a negative Byte

Link copied to clipboard

Transform a given value to a negative Byte or return null if the value is not a negative byte

Link copied to clipboard

Transform a given value to a negative Double

Link copied to clipboard

Transform a given value to a negative Double or return null if the value is not a negative double

Link copied to clipboard

Transform a given value to a negative Float

Link copied to clipboard

Transform a given value to a negative Float or return null if the value is not a negative float

Link copied to clipboard
fun toNegativeInt(value: String?): Int

Transform a given value to a negative Int

Link copied to clipboard

Transform a given value to a negative Int or return null if the value is not a negative int

Link copied to clipboard
fun toNegativeLong(value: String?): Long

Transform a given value to a negative Long

Link copied to clipboard

Transform a given value to a negative Long or return null if the value is not a negative long

Link copied to clipboard

Transform a given value to a negative Number or return null if the value is not a negative number

Link copied to clipboard

Transform a given value to a negative Short

Link copied to clipboard

Transform a given value to a negative Short or return null if the value is not a negative short

Link copied to clipboard
fun toNotNull(value: String?): String

Transform a given value to a String or return null if the value is null

Link copied to clipboard
fun toNull(value: String?): String?

Transform a given value to a String or return null if the value is null

Link copied to clipboard
fun toNumber(value: String?): Number

Transform a given value to a Number

Link copied to clipboard

Transform a given value to a Number or return null if the value is not a number

Link copied to clipboard
fun toPositive(value: String?): Number

Transform a given value to a positive Number

Link copied to clipboard
fun toPositiveByte(value: String?): Byte

Transform a given value to a positive Byte

Link copied to clipboard

Transform a given value to a positive Byte or return null if the value is not a positive byte

Link copied to clipboard

Transform a given value to a positive Double

Link copied to clipboard

Transform a given value to a positive Double or return null if the value is not a positive double

Link copied to clipboard

Transform a given value to a positive Float

Link copied to clipboard

Transform a given value to a positive Float or return null if the value is not a positive float

Link copied to clipboard
fun toPositiveInt(value: String?): Int

Transform a given value to a positive Int

Link copied to clipboard

Transform a given value to a positive Int or return null if the value is not a positive int

Link copied to clipboard
fun toPositiveLong(value: String?): Long

Transform a given value to a positive Long

Link copied to clipboard

Transform a given value to a positive Long or return null if the value is not a positive long

Link copied to clipboard

Transform a given value to a positive Number or return null if the value is not a positive number

Link copied to clipboard

Transform a given value to a positive Short

Link copied to clipboard

Transform a given value to a positive Short or return null if the value is not a positive short

Link copied to clipboard
fun toShort(value: String?): Short

Transform a given value to a Short

Link copied to clipboard
fun toShortOrNull(value: String?): Short?

Transform a given value to a Short or return null if the value is not a short

Link copied to clipboard
fun toString(value: String?): String

Transform a given value to a String

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard
fun toUnsignedInt(value: String?): UInt

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null

Link copied to clipboard

Transform a given value to a String or return null if the value is null