effect-io-ai

Package: effect
Module: String

String.constantCase

Converts a string to CONSTANT_CASE (uppercase with underscores).

When to use

Use to normalize words from mixed input formats into uppercase, underscore-separated identifiers.

See

Signature

declare const constantCase: (self: string) => string

Source

Since v4.0.0