How to convert concise body arrow function to usual function?

Hi Guys! I can’t figure it out how to convert arrow function () to usual function. The problem is i don’t know what to put in return.

Here is an example of code.

const isTheDinnerVegan = arr => arr.every(food => food.source === ‘plant’);


I think the MDN docs could help:

Arrow function expressions - JavaScript | MDN

they break all the steps down :slight_smile:

I’ve understood. I need to return arr.every.
So the converted function will be following:

function isTheDinnerVegan(arr) { return arr.every(food => food.source === 'plant'); }