function writeBoundaryIs(node, linearRing, objectStack) {
  const /** @type {import("../xml.js").NodeStackItem} */ context = {node: node};
  pushSerializeAndPop(
    context,
    BOUNDARY_IS_SERIALIZERS,
    LINEAR_RING_NODE_FACTORY,
    [linearRing],
    objectStack,
  );
}
@param {Element} node Node.
@param {import("../geom/LinearRing.js").default} linearRing Linear ring.
@param {Array<*>} objectStack Object stack.