MCPcopy Index your code
hub / github.com/Effect-TS/effect / Trim

Class Trim

packages/effect/src/Schema.ts:4765–4773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4763 * @since 3.10.0
4764 */
4765export class Trim extends transform(
4766 String$.annotations({ description: "a string that will be trimmed" }),
4767 Trimmed,
4768 {
4769 strict: true,
4770 decode: (i) => i.trim(),
4771 encode: identity
4772 }
4773).annotations({ identifier: "Trim" }) {}
4774
4775/**
4776 * Returns a schema that allows splitting a string into an array of strings.

Callers

nothing calls this directly

Calls 2

transformInterface · 0.70
annotationsMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…