function containsCoordinate(extent, coordinate) {
  return containsXY(extent, coordinate[0], coordinate[1]);
}
Check if the passed coordinate is contained or on the edge of the extent.

@param {Extent} extent Extent.
@param {import("./coordinate.js").Coordinate} coordinate Coordinate.
@return {boolean} The coordinate is contained in the extent.
@api