MCPcopy
hub / github.com/apache/echarts / parsePath

Method parsePath

src/model/Model.ts:190–195  ·  view source on GitHub ↗
(path: string | readonly string[])

Source from the content-addressed store, hash-verified

188
189 // If path is null/undefined, return null/undefined.
190 parsePath(path: string | readonly string[]): readonly string[] {
191 if (typeof path === 'string') {
192 return path.split('.');
193 }
194 return path;
195 }
196
197 // Resolve path for parent. Perhaps useful when parent use a different property.
198 // Default to be a identity resolver.

Callers 2

getMethod · 0.95
getModelMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected