MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / isLast

Method isLast

pkg/ijson/ijson.go:175–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

173}
174
175func (pp pathWithPos) isLast() bool {
176 return pp.Index == len(pp.Path)-1
177}
178
179func GetPath(data any, path []any) (any, error) {
180 return getPathInternal(data, pathWithPos{Path: path, Index: 0})

Callers 1

setPathInternalFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected