Effect-TS / schema

Modeling the schema of data structures as first-class values

Home Page:https://effect.website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add trim combinator

gcanti opened this issue Β· comments

πŸš€ Feature request

Add /data/parser.ts#trim combinator
Add /data/filter.ts#trim combinator

Desired Behavior

Related: z.string().trim(); // trim whitespace

Suggested Solution

Use transform API

The merge didn't close this issue.

I have updated the description using a different keyword, but it is not retroactive.