MCPcopy Create free account
hub / github.com/M-cheng-web/web-tracing / isValidKey

Function isValidKey

scripts/utils.ts:158–163  ·  view source on GitHub ↗
(
  key: string | number | symbol,
  object: object
)

Source from the content-addressed store, hash-verified

156}
157
158export function isValidKey(
159 key: string | number | symbol,
160 object: object
161): key is keyof typeof object {
162 return key in object
163}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected