// ets_tracing: off
import * as O from "../../../Option";
import * as FoldLeft from "./foldLeft";
/**
 * Creates a sink containing the last value.
 */

export function last() {
  return FoldLeft.foldLeft(O.none, (_, in_) => O.some(in_));
}
//# sourceMappingURL=last.js.map