Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
510
export
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
isEmpty
Method · 0.65
modify
Function · 0.50
Tested by
no test coverage detected