When you install whatsapp, if you deny it permission to access your phone number, or if it doesn’t find one, it allows you to enter a phone number manually. It then sends a confirmation text with a code to verify the number, just like any other website.
I used an old (non-smart) phone with a burner sim to receive the confirmation text.
That’s kind of what a barometer is.