A general presumptive test for cocaine, morphine, heroin, and other alkaloids. Mayer’s reagent is a solution of potassium mercury iodide in water. A positive result is indicated by a cream precipitate. Both reagent and test were found by Julius Robert von Mayer (1814–78).