MCPcopy Create free account
hub / github.com/triggerdotdev/jsonhero-web / calculateRelatedValuesGroups

Function calculateRelatedValuesGroups

app/utilities/relatedValues.ts:10–16  ·  view source on GitHub ↗
(
  path: string,
  json: unknown
)

Source from the content-addressed store, hash-verified

8};
9
10export function calculateRelatedValuesGroups(
11 path: string,
12 json: unknown
13): Array<RelatedValuesGroup> {
14 const relatedPaths = getRelatedPathsAtPath(path, json);
15 return groupRelatedValues(relatedPaths, json);
16}
17
18export function groupRelatedValues(
19 relatedPaths: Array<string>,

Callers 1

Calls 2

getRelatedPathsAtPathFunction · 0.85
groupRelatedValuesFunction · 0.85

Tested by

no test coverage detected