That's a reasonable definition of "essential", but at least in the US the term isn't used this way. Takeout restaurants, Starbucks, etc. have always remained open as "essential businesses".
The information was out there..
Not where I live. All restaurants were shut down, even for take-out. They were only allowed to offer take-out food when restrictions started being lifted.
It just seems to me shutting down takeout makes it harder to enforce a lockdown. It assumes everyone is able to cook, which doesn't seem like a reasonable assumption.
It's no wonder we're still muddling along with this problem, months into it.