Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ isEmptyRecord
Function
isEmptyRecord
packages/effect/src/Record.ts:201–202 ·
view source on GitHub ↗
(self: Record<K, A>)
Source
from the content-addressed store, hash-verified
199
* @since 2.0.0
200
*/
201
export
const
isEmptyRecord = <K extends string, A>(self: Record<K, A>): self is Record<K, never> =>
202
Object.keys(self).length === 0
203
204
/**
205
* Determines
if
a readonly record is empty.
Callers
1
Record.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected