Package: effect
Module: String
Checks whether a string is non-empty.
Example (Checking for non-empty strings)
import { String } from "effect"
import * as assert from "node:assert"
assert.deepStrictEqual(String.isNonEmpty(""), false)
assert.deepStrictEqual(String.isNonEmpty("a"), true)
Signature
declare const isNonEmpty: (self: string) => boolean
Since v2.0.0