Files
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

15 lines
342 B
JavaScript

import { getMixer } from './complex.mjs';
import { mixNumber } from './number.mjs';
function mix(from, to, p) {
if (typeof from === "number" &&
typeof to === "number" &&
typeof p === "number") {
return mixNumber(from, to, p);
}
const mixer = getMixer(from);
return mixer(from, to);
}
export { mix };