:sig
function ob_get_close(request : capture dval) string

:returns
the current output buffer contents

:params
request : the caller's request, captured when omitted

:content
`ob_get_close()` returns the current output buffer contents and closes the buffer.

Output then returns to the previous buffer.

:example capy render
ob_start()
print("captured")
var output := ob_get_close()
print(output, "\n")

:see-group
output
