Area of closed polyline

if youre working with polyline inside polyline, you can look into this thread to cut out the holes really fast.