effect-io-ai

Package: effect
Module: String

String.empty

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

Signature

declare const empty: ""

Source

Since v2.0.0