Question: how do you know if someone has your number on whatsapp?
Answer: Check the "Read" heading. Anyone who is able to read your message has your number in their contacts, so you should see the name of the contact whom you know has your phone number here. If you see the name of the person whom you wanted to check here, they have your phone number.