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

Function size

packages/effect/src/Record.ts:413–413  ·  view source on GitHub ↗
(self: ReadonlyRecord<K, A>)

Source from the content-addressed store, hash-verified

411 * @since 2.0.0
412 */
413export const size = <K extends string, A>(self: ReadonlyRecord<K, A>): number => keys(self).length
414
415/**
416 * Checks whether a given `key` exists in a record.

Callers

nothing calls this directly

Calls 1

keysFunction · 0.70

Tested by

no test coverage detected