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

Function isEmpty

packages/effect/src/TxChunk.ts:510–511  ·  view source on GitHub ↗
(self: TxChunk<A>)

Source from the content-addressed store, hash-verified

508 * @since 4.0.0
509 */
510export const isEmpty = <A>(self: TxChunk<A>): Effect.Effect<boolean> =>
511 modify(self, (current) => [Chunk.isEmpty(current), current])
512
513/**
514 * Checks whether the `TxChunk` is non-empty.

Callers

nothing calls this directly

Calls 2

isEmptyMethod · 0.65
modifyFunction · 0.50

Tested by

no test coverage detected