* Returns a random animal type. * * @example * faker.animal.type() // 'crocodile' * * @since 5.5.0
()
| 199 | * @since 5.5.0 |
| 200 | */ |
| 201 | type(): string { |
| 202 | return this.faker.helpers.arrayElement(this.faker.definitions.animal.type); |
| 203 | } |
| 204 | |
| 205 | /** |
| 206 | * Returns a random pet name. |
no test coverage detected