vtils

Home > validator > yup > StringSchema > trim

yup.StringSchema.trim() method

Signature:

trim(message?: StringLocale['trim']): this;

Parameters

Parameter Type Description
message StringLocale[‘trim’] (Optional)

Returns:

this