6
$\begingroup$

As shown below, my autofill in Mathematica showed an interesting function: DispatchQ. Yet, it does not appear in the Mathematica Documentation Center, a search for DispatchQ on the Mathematica Stack Exchange comes up with nothing, and even a Google search for "DispatchQ" reveals nothing I can see relating to Mathematica (though there is a link to a 1915 document from the New York Supreme Court).

Does anyone know what it is and why it isn't documented?

enter image description here

$\endgroup$
6
  • 7
    $\begingroup$ Returns True if applied to a Dispatch object. $\endgroup$
    – ciao
    Commented Jun 26, 2020 at 23:48
  • 1
    $\begingroup$ @ciao Thanks. Do you know why it isn't documented? $\endgroup$ Commented Jun 27, 2020 at 9:19
  • $\begingroup$ I presume it just falls into the group of internally used utility functions - there's a lot of undocumented stuff. Beats me on the details, and the usual cautions about using undocumented stuff applies (it may disappear, etc). $\endgroup$
    – ciao
    Commented Jun 27, 2020 at 18:03
  • $\begingroup$ @ciao Do you know if undocumented functions usually come up on the auto fill? I don’t recall seeing that before. $\endgroup$ Commented Jun 27, 2020 at 23:52
  • $\begingroup$ I guess it's an internal function used by /. for distinguishing rule lists and Dispatches. $\endgroup$ Commented Jun 28, 2020 at 7:31

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.