CommanderValueValidators

A collection of common CommanderValueValidator implementations

Since

0.1.0

See also

Properties

Link copied to clipboard

Check if the given value is a boolean

Link copied to clipboard

Check if the given value is a byte

Link copied to clipboard

Check if the given value is a char

Link copied to clipboard

Check if the given value is a double

Link copied to clipboard

Check if the given value is a float

Link copied to clipboard

Check if the given value is an int

Link copied to clipboard

Check if the given value is a long

Link copied to clipboard

Check if the given value is a negative number

Link copied to clipboard

Check if the given value is a negative byte

Link copied to clipboard

Check if the given value is a negative double

Link copied to clipboard

Check if the given value is a negative float

Link copied to clipboard

Check if the given value is a negative int

Link copied to clipboard

Check if the given value is a negative long

Link copied to clipboard

Check if the given value is a negative short

Link copied to clipboard

Check if the given value is not null

Link copied to clipboard

Check if the given value is null

Link copied to clipboard

Check if the given value is a positive number

Link copied to clipboard

Check if the given value is a positive byte

Link copied to clipboard

Check if the given value is a positive double

Link copied to clipboard

Check if the given value is a positive float

Link copied to clipboard

Check if the given value is a positive int

Link copied to clipboard

Check if the given value is a positive long

Link copied to clipboard

Check if the given value is a positive short

Link copied to clipboard

Check if the given value is a short

Link copied to clipboard

Check if the given value is a string

Link copied to clipboard

Check if the given value is an unsigned byte

Link copied to clipboard

Check if the given value is an unsigned int

Link copied to clipboard

Check if the given value is an unsigned long

Link copied to clipboard

Check if the given value is an unsigned short

Functions

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

Check if the given value is a boolean

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

Check if the given value is a byte

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

Check if the given value is a char

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

Check if the given value is a double

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

Check if the given value is a float

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

Check if the given value is an int

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

Check if the given value is a long

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

Check if the given value is a negative number

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

Check if the given value is a negative byte

Link copied to clipboard

Check if the given value is a negative double

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

Check if the given value is a negative float

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

Check if the given value is a negative int

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

Check if the given value is a negative long

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

Check if the given value is a negative short

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

Check if the given value is not null

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

Check if the given value is null

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

Check if the given value is a positive number

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

Check if the given value is a positive byte

Link copied to clipboard

Check if the given value is a positive double

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

Check if the given value is a positive float

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

Check if the given value is a positive int

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

Check if the given value is a positive long

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

Check if the given value is a positive short

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

Check if the given value is a short

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

Check if the given value is a string

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

Check if the given value is an unsigned byte

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

Check if the given value is an unsigned int

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

Check if the given value is an unsigned long

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

Check if the given value is an unsigned short