Skip to content

TrimEndParams.shouldValidate?

TrimEndParams › shouldValidate?

Type: boolean

If true, throws an error if the string does not end with the suffix.