[Doc]Doc for this function

I don't think it adds much value as the result is the one everyone is expecting. We added the return value for some more complex examples because it was no so easy.