Self employed

Your understanding is correct. The IRS expects the taxpayer to keep records and receipts to document restaurants meal expenses as opposed to food purchased otherwise. The law was enacted to encourage restaurant patronage affected by Covid.