Comments on proposed isPathClear and findHazards APIs

I’m thinking of adding new APIs to help find whether there are obstacles or traps between two points, and to be able to find a list of traps. Discussion is over on GitHub. Please weigh in if you have ideas for how these APIs should work, or if there are important use cases they won’t cover: