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

Class Uppercase

packages/effect/src/Schema.ts:4689–4697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4687 * @since 3.10.0
4688 */
4689export class Uppercase extends transform(
4690 String$.annotations({ description: "a string that will be converted to uppercase" }),
4691 Uppercased,
4692 {
4693 strict: true,
4694 decode: (i) => i.toUpperCase(),
4695 encode: identity
4696 }
4697).annotations({ identifier: "Uppercase" }) {}
4698
4699/**
4700 * This schema converts a string to capitalized 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…