Skip to main content

food Domain

The food domain maps domain keywords to underlying faker implementations.

Faker Documentation

Methods

food.adjective

Generates a random dish adjective.

No parameters.

Examples:

Shows the default food.adjective call.

food.adjective

Returns: juicy

food.description

Generates a random dish description.

No parameters.

Examples:

Shows the default food.description call.

food.description

Returns: An exquisite artichoke dish, paired with brown rice and a hint of cardamom.

food.dish

Generates a random dish name.

No parameters.

Examples:

Shows the default food.dish call.

food.dish

Returns: Cinnamon-crusted Chicken

food.ethnicCategory

Generates a random food's ethnic category.

No parameters.

Examples:

Shows the default food.ethnicCategory call.

food.ethnicCategory

Returns: Indonesian

food.fruit

Generates a random fruit name.

No parameters.

Examples:

Shows the default food.fruit call.

food.fruit

Returns: grapefruit

food.ingredient

Generates a random ingredient name.

No parameters.

Examples:

Shows the default food.ingredient call.

food.ingredient

Returns: green pepper

food.meat

Generates a random meat

No parameters.

Examples:

Shows the default food.meat call.

food.meat

Returns: kangaroo

food.spice

Generates a random spice name.

No parameters.

Examples:

Shows the default food.spice call.

food.spice

Returns: fines herbes

food.vegetable

Generates a random vegetable name.

No parameters.

Examples:

Shows the default food.vegetable call.

food.vegetable

Returns: eggplant