Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/effect-app/libs
/ isPropertyKey
Function
isPropertyKey
repos/effect/packages/effect/src/Predicate.ts:704–706 ·
view source on GitHub ↗
(u: unknown)
Source
from the content-addressed store, hash-verified
702
* **Example** (Guarding property keys)
703
*
704
* ```ts
import
.meta.vitest
705
*
import
{ Predicate } from
"effect"
706
*
707
*
const
key: unknown =
"name"
708
*
const
obj: Record<PropertyKey, unknown> = { name:
"Ada"
}
709
*
Callers
nothing calls this directly
Calls
3
isNumber
Function · 0.85
isSymbol
Function · 0.85
isString
Function · 0.70
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…