ui / com.schibsted.account.ui.ui.rule / ValidationRule

ValidationRule

interface ValidationRule

Functions

isValid

abstract fun isValid(input: String?): Boolean

Checks if rules are respected for the input to be valid

Inheritors

BasicValidationRule

object BasicValidationRule : ValidationRule

BirthdayValidationRule

object BirthdayValidationRule : ValidationRule

CodeValidationRule

object CodeValidationRule : ValidationRule

EmailValidationRule

object EmailValidationRule : ValidationRule

MobileValidationRule

object MobileValidationRule : ValidationRule

NameValidationRule

object NameValidationRule : ValidationRule

PasswordValidationRule

object PasswordValidationRule : ValidationRule