five-on-it / apps/client/src/ui/studio/edits / selectionOfPath
Function: selectionOfPath()
selectionOfPath(
path):Selection|undefined
Defined in: apps/client/src/ui/studio/edits.ts:571
The element an issue's path is about (spec.roads[5].from.onto, districts[2], spawn.road, a river's jetty water[0].jetties[2], a park's prop parks[1].things[0]), or undefined for the spec as a whole.
Parameters
path
string
Returns
Selection | undefined