EchoFunction
EchoFunction()[expr]
operator form of the
Echo
function. Print theexpr
to the default output stream and returnexpr
.
EchoFunction(head)[expr]
prints
head(expr)
and returnsexpr
.
EchoFunction(label, head)[expr]
prints
label
before printinghead(expr)
and returnsexpr
.
Examples
>> {EchoFunction()[f(x,y)], Print(g(a,b))}{f(x,y),Null}
prints
f(x,y)g(a,b)
and returns
{f(x,y),Null}
Implementation status
- ✅ - full supported