Merge pull request #9908 from mike-000/patch-3

LineString.forEachSegment callback API description
This commit is contained in:
Tim Schaub
2019-09-06 07:19:47 -06:00
committed by GitHub

View File

@@ -111,7 +111,7 @@ class LineString extends SimpleGeometry {
* value immediately. Otherwise the function returns `false`.
*
* @param {function(this: S, import("../coordinate.js").Coordinate, import("../coordinate.js").Coordinate): T} callback Function
* called for each segment.
* called for each segment. The function will receive two arguments, the start and end coordinates of the segment.
* @return {T|boolean} Value.
* @template T,S
* @api