Statement.endsWithReturnStatement

Does this statement end with a return statement?

I.e. is it a single return statement or some compound statement that unconditionally hits a return statement.

class Statement
pure nothrow @nogc inout
endsWithReturnStatement
()

Return Value

Type: inout(ReturnStatement)

return statement it ends with, otherwise null

Suggestion Box / Bug Report