MCPcopy Create free account
hub / github.com/ClydeTime/Surge / toPath

Method toPath

Script/Env.js:93–95  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

91 }
92
93 toPath(value) {
94 return value.replace(/\[(\d+)\]/g, '.$1').split('.').filter(Boolean)
95 }
96
97 getItem(keyName = new String, defaultValue = null) {
98 let keyValue = defaultValue

Callers 2

lodash_getMethod · 0.45
lodash_setMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected