MCPcopy Create free account
hub / github.com/Effect-TS/effect / isEmpty

Function isEmpty

packages/effect/src/String.ts:393–393  ·  view source on GitHub ↗
(self: string)

Source from the content-addressed store, hash-verified

391 * @since 2.0.0
392 */
393export const isEmpty = (self: string): self is "" => self.length === 0
394
395/**
396 * Checks whether a `string` is non-empty.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected