ui / com.schibsted.account.ui.ui.rule / MobileValidationRule

MobileValidationRule

object MobileValidationRule : ValidationRule

Functions

isValid

fun isValid(input: String?): Boolean

Verifies if the input is a valid. To be valid the input should not be empty, should only contain digits after the first character, and should not be equal to the default prefix provided by the client.