All challenges
Multiple ChoiceIntermediate 30s

Go: errors.Is

errors.Is(err, target) checks if:
Options
  1. 1err matches target (including wrapped)
  2. 2err equals target exactly, without unwrapping
  3. 3err is nil, so no comparison is needed
  4. 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.

Play this in a 3-minute battle