MCPcopy Create free account
hub / github.com/Effect-TS/effect / formatPath

Function formatPath

packages/effect/src/Formatter.ts:216–218  ·  view source on GitHub ↗
(path: ReadonlyArray<PropertyKey>)

Source from the content-addressed store, hash-verified

214 * @internal
215 */
216export function formatPath(path: ReadonlyArray<PropertyKey>): string {
217 return path.map((key) => `[${formatPropertyKey(key)}]`).join("")
218}
219
220/**
221 * Formats a `Date` as an ISO 8601 string, returning `"Invalid Date"` for

Callers 1

formatIssueFunction · 0.90

Calls 3

formatPropertyKeyFunction · 0.85
joinMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected