Checks if a value is an OptionError, narrowing its type if true.
The value to check.
true if the value is a OptionError, narrowing to OptionError.
true
OptionError
Checks if a value is an OptionError, narrowing its type if true.