whether it be
This expression is used to emphasize that regardless of the condition, the situation will remain the same.
Examples
タクシーにしろバスにしろ、時間がかかる。
Whether by taxi or by bus, it takes time.
友達にしろ家族にしろ、私は彼を助ける。
Whether it's friends or family, I will help him.
雨にしろ雪にしろ、明日は出かけます。
Whether it rains or snows, I will go out tomorrow.
Quick check
タクシー___バス___、時間がかかる。