Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ size
Function
size
packages/effect/src/TxChunk.ts:482–483 ·
view source on GitHub ↗
(self: TxChunk<A>)
Source
from the content-addressed store, hash-verified
480
* @since 4.0.0
481
*/
482
export
const
size = <A>(self: TxChunk<A>): Effect.Effect<number> =>
483
modify(self, (current) => [Chunk.size(current), current])
484
485
/**
486
* Checks whether the `TxChunk` is empty.
Callers
nothing calls this directly
Calls
2
size
Method · 0.65
modify
Function · 0.50
Tested by
no test coverage detected