The docstring and the Elisp manual both state that easy-menu-define "defines SYMBOL as a function for popping up the menu" but it doesn't. It defines SYMBOL as a variable whose value is the menu, which could be used for popping up the menu. This behaviour is useful and I use it, so I suggest that the documentation should be corrected.
Thanks, Francis In GNU Emacs 29.2 (build 2, x86_64-w64-mingw32) of 2024-01-18 built on AVALON Windowing system distributor 'Microsoft Corp.', version 10.0.22631 System Description: Microsoft Windows 10 Home (v10.0.2009.22631.4037)