Repository URL to install this package:
|
Version:
1.1.21 ▾
|
"use strict";
const toList = (a, b, c, d) => [a, b, c, d];
const obj = (one, two, three, four) => {
return {
one,
two,
three,
four
};
};
const arr = (one, two, three, four) => {
return [one, two, three, four];
};
const converge = require("./converge");
const T = () => true;
const result = converge(toList, [obj, arr, T])(0, 1, 2, 'four'); // console.log(result)