# Searching for functions

Use the [`function`](https://developers.google.com/code-search/reference#filters) or `func` filter to search for a
specific function. For example, the following search returns all functions with
the term `main`.

    function:main