MCPcopy Create free account
hub / github.com/akebe/address-parse / getAreaByAddress

Function getAreaByAddress

src/parse/utils.js:126–167  ·  view source on GitHub ↗

* 通过省市区非标准字符串准换为标准对象 * 旧版识别的隐藏省份后缀的对象可通过这个函数转换为新版支持对象 * @param province * @param city * @param area * @returns {{code: string, province: string, city: string, area: string}}

({province, city, area})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected