Currently, I am working on validating whether a polygon is completely within another polygon. However, there are cases where more complex polygons should return false, but turf interprets them as valid.
If you'd like to see the sandbox, click here:
https://codesandbox.io/embed/adoring-lamarr-6mi8wv?fontsize=14&hidenavigation=1&theme=dark
Additionally, here are the polygons in question: https://gist.github.com/tomascenteno42/107c19531ebbcf8f8106c27282bf3891
Thank you!