Package: effect
Module: String
Type-level representation of trimming whitespace from both ends of a string.
Example (Trimming whitespace at the type level)
import type { String } from "effect"
type Result = String.Trim<" hello "> // "hello"
Signature
type Trim<A> = TrimEnd<TrimStart<A>>
Since v2.0.0