Arch Linux: 'whatprovides' equivalent option for pacman

I've come from Fedora and am trying out Arch Linux.

I was wondering if the packager 'pacman' contains functionality like that provided by 'yum whatprovides':

provides or whatprovides
              Is  used  to  find out which package provides some feature or file. Just use a specific name or a file-
              glob-syntax wildcards to list the packages available or installed that provide that feature or file.

I believe pkgfile or pkgfile -s are what you're looking for. For further reference I will direct you to here. The link will show you what other commands you might need a translation for. I hope it helps.


pacman -F file_name for Pacman v5.2.1 - libalpm v12.0.1