MCPcopy Index your code
hub / github.com/Effect-TS/effect / formatPropertyKey

Function formatPropertyKey

packages/effect/src/Inspectable.ts:70–72  ·  view source on GitHub ↗
(name: PropertyKey)

Source from the content-addressed store, hash-verified

68
69/** @internal */
70export function formatPropertyKey(name: PropertyKey): string {
71 return Predicate.isString(name) ? JSON.stringify(name) : String(name)
72}
73
74/** @internal */
75export function formatUnknown(

Callers 1

goFunction · 0.70

Calls 1

StringInterface · 0.85

Tested by

no test coverage detected