import { swizzle as _swizzle } from "@thi.ng/arrays/swizzle";
import { isIterable } from "@thi.ng/checks/is-iterable";
import { iterator1 } from "./iterator.js";
import { map } from "./map.js";
function swizzle(order, src) {
  return isIterable(src) ? iterator1(swizzle(order), src) : map(_swizzle(order));
}
export {
  swizzle
};
