* Generates a random localized city name. * * @example * faker.location.city() // 'East Jarretmouth' * fakerDE.location.city() // 'Bad Lilianadorf' * * @since 8.0.0
()
| 288 | * @since 8.0.0 |
| 289 | */ |
| 290 | city(): string { |
| 291 | return this.faker.helpers.fake( |
| 292 | this.faker.definitions.location.city_pattern |
| 293 | ); |
| 294 | } |
| 295 | |
| 296 | /** |
| 297 | * Generates a random building number. |