import { assertNever } from "@contember/utilities";
const cycleOrderDirection = (direction) => {
  if (direction === null) {
    return "asc";
  }
  if (direction === "asc") {
    return "desc";
  }
  if (direction === "desc") {
    return null;
  }
  return assertNever(direction);
};
export {
  cycleOrderDirection
};
//# sourceMappingURL=DataGridOrderDirection.js.map
