Files
SupportBot/node_modules/chance/docs/thing/animal.md
T
2021-02-02 13:50:53 +00:00

355 B

animal

// usage
chance.animal()
chance.animal({type: 'zoo'})

Generate a random animal

chance.animal();
=> 'Cobra'

Default is any type of animal.

Optionally specify a specific type of animal

chance.animal({type: 'zoo'});
=> 'Lion'

Allowed types are: ocean, desert, grassland, forest, farm, pet, and zoo