MCPcopy Index your code
hub / github.com/Effect-TS/effect / size

Function size

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

Source from the content-addressed store, hash-verified

259 * @since 2.0.0
260 */
261export const size = <K extends string, A>(self: ReadonlyRecord<K, A>): number => keys(self).length
262
263/**
264 * Check if a given `key` exists in a record.

Callers

nothing calls this directly

Calls 1

keysFunction · 0.70

Tested by

no test coverage detected