To have the whip-hand of means to be in a position to control somebody or something.
1. Sweta, having kicked her attacker with her high-heeled shoes and bringing him down, had the whip-hand of him.
2. Mitra knew that if his rival moved the white pawn he would have the whip hand over Mitra and could then easily go on to win the chess game.