MCPcopy 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 */
482export 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

sizeMethod · 0.65
modifyFunction · 0.50

Tested by

no test coverage detected