6

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

Just Some Old Man
  • 1,607
  • 1
  • 9
  • 12
  • 7
    Returns True if applied to a Dispatch object. – ciao Jun 26 '20 at 23:48
  • 1
    @ciao Thanks. Do you know why it isn't documented? – Just Some Old Man Jun 27 '20 at 09:19
  • 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). – ciao Jun 27 '20 at 18:03
  • @ciao Do you know if undocumented functions usually come up on the auto fill? I don’t recall seeing that before. – Just Some Old Man Jun 27 '20 at 23:52
  • I guess it's an internal function used by /. for distinguishing rule lists and Dispatches. – SnzFor16Min Jun 28 '20 at 07:31
  • I'm sure I've seen other undocumented internals show up in auto-complete, and certainly when context is added, for example DeveloperPackedArrayQ` is a test used often by many that shows up. – ciao Jun 29 '20 at 04:49

0 Answers0