MCPcopy Create free account
hub / github.com/codeaashu/claude-code / edges

Function edges

src/ink/layout/geometry.ts:30–38  ·  view source on GitHub ↗
(a: number, b?: number, c?: number, d?: number)

Source from the content-addressed store, hash-verified

28 left: number,
29): Edges
30export function edges(a: number, b?: number, c?: number, d?: number): Edges {
31 if (b === undefined) {
32 return { top: a, right: a, bottom: a, left: a }
33 }
34 if (c === undefined) {
35 return { top: a, right: b, bottom: a, left: b }
36 }
37 return { top: a, right: b, bottom: c, left: d! }
38}
39
40/** Add two edge values */
41export function addEdges(a: Edges, b: Edges): Edges {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected