MCPcopy
hub / github.com/Effect-TS/effect / Capitalize

Class Capitalize

packages/effect/src/Schema.ts:4705–4713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4703 * @since 3.10.0
4704 */
4705export class Capitalize extends transform(
4706 String$.annotations({ description: "a string that will be converted to a capitalized format" }),
4707 Capitalized,
4708 {
4709 strict: true,
4710 decode: (i) => string_.capitalize(i),
4711 encode: identity
4712 }
4713).annotations({ identifier: "Capitalize" }) {}
4714
4715/**
4716 * This schema converts a string to uncapitalized one.

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…