have the edge vs have the whip hand

have the edge

have the whip hand

How often have the words have the edge and have the whip hand occurred in a corpus of books? (source: Google Ngram Viewer )