Multiple ChoiceIntermediate 30s
Go: errors.Is
errors.Is(err, target) checks if:
Options
- 1err matches target (including wrapped)
- 2err equals target exactly, without unwrapping
- 3err is nil, so no comparison is needed
- 4target is nil, so every comparison succeeds
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.