While swords are definitely a prominent part of the play, the term "rapier" is not used.
The play references swords and daggers, but never the specific term "rapier."
Perhaps you are thinking of a different Shakespearean play?