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

sanitizations

singular

Converts a value to it's singular version. If value is not a string then it will be returned as it is.