sfc
internal use. Taken from https://github.com/michaeldorman/nngeo/
st_remove_holes(x)
x
a sf or sfc polygon.
sf