Move recursive function out of scope and make the function work w/ any feature.
Move recursive function out of scope and make the function work w/ any feature.

tilemapjp/turf,Turfjs/turf,Turfjs/turf,dpmcmlxxvi/turf,Turfjs/turf,tilemapjp/turf,dpmcmlxxvi/turf,tilemapjp/turf,dpmcmlxxvi/turf