Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
385
export
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
keys
Function · 0.70
Tested by
no test coverage detected