vtils

Home > validator > yup > StringSchema

yup.StringSchema interface

Signature:

export interface StringSchema<T extends string = string> extends MixedSchema<T> 

Extends: MixedSchema<T>

Methods

Method Description
chineseIDCardNumber(message)  
chineseMobilePhoneNumber(message)  
email(message)  
ensure()  
length(limit, message)  
lowercase(message)  
matches(regex, message)  
matches(regex, options)  
max(limit, message)  
min(limit, message)  
required(message)  
trim(message)  
uppercase(message)  
url(message)