S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which method checks if an Option is Some variant?

  • (A) has_value()
  • (B) exists()
  • (C) is_some()
  • (D) check()
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category Rust
  • Hashtags:

Explanation by: Shyam Dubey
is_some() checks if an Option contains a value.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.