# kinks
# 接口介绍
计算并返回 linestring , multi-linestring , multi-polygon , or polygon 所有的自交点。
# 返回值(FeatureCollection < Point >)
所有的自交点
# 示例
var poly = turf.polygon([
[
[-12.034835, 8.901183],
[-12.060413, 8.899826],
[-12.03638, 8.873199],
[-12.059383, 8.871418],
[-12.034835, 8.901183],
],
]);
var kinks = turf.kinks(poly);