Checks whether the Option value exactly matches a value.
Option
Value to match.
Value to evaluate.
Returns true if the Some value is the same as match. Otherwise, it returns false.
true
Some
match
false
Checks whether the
Option
value exactly matches a value.