LengthValidation

fun LengthValidation(errorMessage: String, minLength: Int? = null, maxLength: Int? = null)

Parameters

errorMessage

Type-specific error message String.

minLength

Optional Int? minimum length (inclusive).

maxLength

Optional Int? maximum length (inclusive).