It means relative to Hamlet, related to Hamlet. It is used to designate your own questioning, doubt, disjunctive. Dilemma. Situation in which there are two options and one of them must be chosen.
Relative to Hamlet, the protagonist of Shakespeare's literary work. To be or not to be. Someone who doubts