What is the meaning of the word "whodunit"?

Definitions:

  1. a story about a crime, usually murder, presented as a novel or play or movie copy to clipboard noun
    • The dinner theater was a puzzling whodunit. copy to clipboard

Synonyms: