MCPcopy Create free account
hub / github.com/middleapi/orpc / isPropertyKey

Function isPropertyKey

packages/shared/src/object.ts:97–100  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

95}
96
97export function isPropertyKey(value: unknown): value is PropertyKey {
98 const type = typeof value
99 return type === 'string' || type === 'number' || type === 'symbol'
100}
101
102export const NullProtoObj = /* @__PURE__ */ (() => {
103 const e = function () { }

Callers 2

isSchemaIssueFunction · 0.90
object.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected