Hyperlinkv0.8.0-beta.28

String

String.emptyconsteffect/String.ts:117
""

Provides the empty string "".

When to use

Use when you need the canonical empty string value from the String module.

Example (Referencing the empty string)

import { String } from "effect"

console.log(String.empty) // ""
console.log(String.isEmpty(String.empty)) // true
constants
Source effect/String.ts:1171 lines
export const empty: "" = "" as const