Legal definition of a takeaway in England

I recently saw a post that said their cafe fell under the definition of ‘takeaway’ due to the establishment having less than 10 covers (tables). Does anybody know where I would find such definitions and what is the LEGAL definition of a takeaway in England and how one would define what a takeaway is vs a restaurant?