ob_clean()
function ob_clean(): bool
Cleans (erases) the contents of the active output buffer.
Parameters: none.
Returns: bool
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/core/ob_clean.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how ob_clean is implemented in the compiler, see the internals page.