mixin slanUtil::Validate

slanUtil::Validate
date

This date(Str text)

digit

This digit(Str text)

email

This email(Str text)

identifier

This identifier(Str text)

isDate

static Bool isDate(Str text)

YYYY-MM-DD

isDigit

static Bool isDigit(Str text)

isEmail

static Bool isEmail(Str text)

isIdentifier

static Bool isIdentifier(Str text)

length in [3...36], start with char

isUri

static Bool isUri(Str text)

length

This length(Str text, Range r)

range

This range(Int i, Range r)

required

This required(Str? text)

uri

This uri(Str text)