Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Effect-TS/effect
/ isEmptyRecord
Function
isEmptyRecord
packages/effect/src/Record.ts:81–82 ·
view source on GitHub ↗
(self: Record<K, A>)
Source
from the content-addressed store, hash-verified
79
* @since 2.0.0
80
*/
81
export
const
isEmptyRecord = <K extends string, A>(self: Record<K, A>): self is Record<K, never> =>
82
keys(self).length === 0
83
84
/**
85
* Determine
if
a record is empty.
Callers
1
Record.ts
File · 0.85
Calls
1
keys
Function · 0.70
Tested by
no test coverage detected