What is the meaning of Whether?

Indicates doubt between possibilities (usually with correlative or).

Without a correlative, introduces a simple indirect question.

Introduces a disjunctive adverbial clause qualifying the main clause (with correlative or).

Introduces a direct question between alternatives (often with correlative or).

Which of two.

Which of two.

Source: wiktionary.org