Deviopath › Swift

First Match

Hard · Generics

Return the first element matching minValue or greater, or -1. Models some Collection filtering without the opaque type in the signature. Write firstAtLeast(_:_:).