* Generates a random localized full postal address, which may include a street address, secondary address, city, state, and zip code. To ensure you get locale-specific address formats, use a localized Faker instance. * * @example * faker.location.postalAddress() * // 'Apt. 980 * // 09
()
| 391 | * @since 10.5.0 |
| 392 | */ |
| 393 | postalAddress(): string { |
| 394 | return this.faker.helpers.fake( |
| 395 | this.faker.definitions.location.postal_address |
| 396 | ); |
| 397 | } |
| 398 | |
| 399 | /** |
| 400 | * Generates a random localized secondary address. This refers to a specific location at a given address |