mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
We had a lot of uses of find which looked for a subtype, but then had to cast (seemingly unsafely) the result to that subtype. This pulls all the casts out into a utility function.