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

Function size

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

Source from the content-addressed store, hash-verified

383 * @since 2.0.0
384 */
385export const size = <K extends string, A>(self: ReadonlyRecord<K, A>): number => keys(self).length
386
387/**
388 * 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