On this page
  1. Lowercase
  2. Syntax & Overview
  3. Notes & Pitfalls
  4. Example

Lowercase

Prev: `Uppercase` | Up: string_manipulation | Next: `Capitalize`
Rel: string_manipulation, Conditional & Mapped Types
Ref: TypeScript Docs — Utility Types
Tags: #public #web #typescript #utility-types #string_manipulation #tier/standard


Syntax & Overview

Lowercase<S>

Converts every character of string literal type S to lowercase.

Notes & Pitfalls

Example

type Header = Lowercase<"Content-Type" | "Accept">; // "content-type" | "accept"

Linked from

Related notes