Clarification on the `trim` combinator in Effect Typescript Schema Filters
In the
...but I cannot find any information on the
I managed to find a
...but how would you use this with
Schema > Filters > String Filters docs here after the code block there is an info block that says:Trim vs Trimmed
Thetrimmedcombinator does not make any transformations, it only validates. If what you were looking for was a combinator to trim strings, then check out thetrimcombinator or theTrimschema.
...but I cannot find any information on the
trim combinator anywhere? There is no Schema.trim method or Schema.String.trim method.I managed to find a
trim function exported from effect/String with the definition:...but how would you use this with
Schema.String?Effect Documentation
Define custom validation logic with filters to enhance data validation beyond basic type checks.
