The official grammar does not contain a rule detailing what a function declaration looks like. The functions page on the website only details what a function body looks like. It's possible to piece the information together with information on the Declarations page, but this is not very obvious.