Package-level declarations

Types

Link copied to clipboard
open class Angle : StrUnit
Link copied to clipboard
open class Celsius : StrUnit
Link copied to clipboard
object IDRegex
Link copied to clipboard
open class Kilometer : StrUnit
Link copied to clipboard
open class Kmh : StrUnit
Link copied to clipboard
open class Meter : StrUnit
Link copied to clipboard
open class Ms : StrUnit
Link copied to clipboard
open class Percent : StrUnit
Link copied to clipboard
interface PwdStrength

Pwd strength

Link copied to clipboard

Password contains at least one letter and one number.

Link copied to clipboard

Password contains at least one uppercase letter, one lowercase letter and one number.

Link copied to clipboard

Password contains at least one letter, one number and one special character. Special characters include !@#$%^& * .

Link copied to clipboard

Password contains at least one uppercase letter, one lowercase letter, one number and one special character. Special characters include !@#$%^& * .

Link copied to clipboard
interface StrUnit

StrUnit

Functions

Link copied to clipboard

Check if string is Email address.

Link copied to clipboard

Check if string is a number

Link copied to clipboard

String verified according to the Chinese phone number.

Link copied to clipboard
fun String.isPwd(strength: PwdStrength = PwdStrength1, @IntRange(from = 0) minLength: Int = 6, @IntRange(from = 0) maxLength: Int = 20, shouldNotAppear: Array<String> = emptyArray()): Boolean

Check if string meets password requirements.

Link copied to clipboard

Check if string is QQ number.

Link copied to clipboard

Get the string in unit.