Movk Core
toPath 函数用于将路径字符串解析为片段数组。
toPath
import { toPath } from '@movk/core' toPath('a.b[0].c') // ['a', 'b', 0, 'c'] toPath('a[\'x.y\']') // ['a', 'x.y']
toPath(path)
将路径字符串解析为片段数组。
b6146 — refactor: 统一源码文件命名为 camelCase
b6146
setPath
在对象指定路径写入值
simpleHash
生成字符串的简单哈希值
页面导航
社区