Here are super-imposed the charts for the 50mm f/1.4G (lower red & blue) and 24mm f/1.4G (higher red & blue) lenses. There isn’t a single point where the 50mm beats the 24mm.
Let’s see what happens when I super-impose the charts for the 24mm f/1.4G and Leica’s 24mm Summilux-M ASPH. The faint/light red curves below are Leica’s; I have drawn a yellow curve between the lowest pair and the second lowest pair of these that is comparable in metrics to Nikon’s blue curve.
To the exception of the extreme corners, the theory is that Nikon’s implementation surpasses Leica’s. The Leica is almost assuredly smaller and less conspicuous but it doesn't eclipse the competition with its performance.
Finally, it's relevat to know how it compares to the Canon. The lower set of curves, the fainter ones, are comparable to Nikon's.
The Nikkor is better over the whole frame, but not by much.