MCPcopy Index your code
hub / github.com/databus23/helm-diff / isArrayIndex

Function isArrayIndex

diff/structured.go:376–386  ·  view source on GitHub ↗
(token string)

Source from the content-addressed store, hash-verified

374}
375
376func isArrayIndex(token string) bool {
377 if token == "" {
378 return false
379 }
380 for _, r := range token {
381 if r < '0' || r > '9' {
382 return false
383 }
384 }
385 return true
386}

Callers 1

formatPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected