Using older version of Indicative or @adonisjs/validator?. Click here to access the old version documentation.

sanitizations

trim

Removes whitespace from both sides of a given string.