Get the block name
return the name of the block if availlable
Can you show us the rest of your code where you are trying to get the block name, so we can help debug it?
And since the doc is talking about getting the block name, they should mention the fonction.
That was just a hint to correct the page :)