function writeMultiLineStringGeometry(multiLineString, options) {
  const hasZM = getHasZM(multiLineString);
  return {
    hasZ: hasZM.hasZ,
    hasM: hasZM.hasM,
    paths: /** @type {Array<Array<EsriJSONPosition>>} */ (
      multiLineString.getCoordinates()
    ),
  };
}
@param {import("../geom/MultiLineString.js").default} multiLineString Geometry.
@param {import("./Feature.js").WriteOptions} [options] Write options.
@return {EsriJSONPolyline} EsriJSON geometry.