州或省生成器

生成州、省或同等行政区名称,可按参数返回缩写。

location.state

生成设置

生成后在这里查看结果。

参数 & 示例

生成州、省或同等行政区名称,可按参数返回缩写。

location.state(options?: { abbreviated? })
options
An options object.
options.abbreviated
If true this will return abbreviated first-level administrative entity names. Otherwise this will return the long name. Defaults to false.

示例

"North Dakota"

请在测试环境使用合成数据。

相关生成器

探索场景模板