Obtain an inventory of data tables within an app's code

I’ve looked for but haven’t found a way to obtain an iterable containg the data tables used within an app.

This feature that has been sought by others in the past: