EchoFunction

EchoFunction[f][expr]

prints f[expr] and returns expr.

EchoFunction[label,f][expr]

prints f[expr], prepending label, and returns expr.

Details

Examples

open allclose all

Basic Examples  (2)

Print a property of an intermediate result:

In[1]:=
Click for copyable input
Out[1]=

Report a property using a label:

In[1]:=
Click for copyable input
Out[1]=

Applications  (1)

Properties & Relations  (1)

See Also

Echo  Print  TracePrint  Sow

Introduced in 2015
(10.3)