How to properly declare a function in C++?

Hello!

This is what I have now:

UFUNCTION([BlueprintCallable], [meta(word1 = value, word2 = value)])
	ReturnType getWords([Word1, Word2]);

There is probably a ton wrong with it, but this is as far as I have gotten with the documentation (which never gave an example of what a working function looks like)