import { juxt } from "@thi.ng/compose/juxt";
import { map } from "./map.js";
import { step } from "./step.js";
function multiplex(...args) {
  return map(
    juxt.apply(
      null,
      args.map(
        (xf) => Array.isArray(xf) ? step(xf[0], xf[1]) : step(xf)
      )
    )
  );
}
export {
  multiplex
};
