UNPKG

253 BJavaScriptView Raw
1import swap$ from './swap$';
2/**
3 * Exchanges two values.
4 * @param x an object
5 * @param k a key
6 * @param l another key
7 */
8function swap(x, k, l) {
9 return swap$(Object.assign({}, x), k, l);
10}
11export default swap;
12//# sourceMappingURL=index.js.map
\No newline at end of file