Skip to content

five-on-it / apps/client/src/ui/studio/json-paths / rangeOfPath

Function: rangeOfPath() ​

rangeOfPath(ranges, path): JsonRange | undefined

Defined in: apps/client/src/ui/studio/json-paths.ts:100

The range of an issue's path in a text's ranges: the path's own, else the nearest value above it there.

Parameters ​

ranges ​

Map<string, JsonRange>

path ​

string

Returns ​

JsonRange | undefined