brew-list
List installed formulae/casks or their files.
TLDR
List all installed formulae and casks
$ brew list
List files belonging to an installed formula
$ brew list [formula]
List artifacts of a cask
$ brew list [cask]
List only formulae
$ brew list --formula
List only casks
$ brew list --cask