Skip to Content
๐ŸŽฒ Welcome to RandBox - Powerful JavaScript Random Data Generation Library! Learn More

animal

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

Generate a random animal

randBox.animal(); => 'Cobra'

Default is any type of animal.

Optionally specify a specific type of animal

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

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

Last updated on: