Erik Svensen shows how you can find help for M functions without leaving the Power Query editor:
One of the things you should know when working with PowerQuery is that you can get a list of all functions in M by adding a blank query and use the #shared expression to get all the functions.
Read on for an example and an even easier way to get information for a single function.