Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/tsafe/mod.ts>capitalize

🔩 The missing TypeScript utils
Go to Latest
function capitalize
import { capitalize } from "https://deno.land/x/tsafe@v1.6.5/mod.ts";

Type Parameters

S extends string

Returns

Capitalize<S>