added tests for concat and contains from ramda docs

This commit is contained in:
Drew Wyatt
2018-10-31 10:59:54 -04:00
parent c0375340be
commit a456a071d8
+6
View File
@@ -124,6 +124,12 @@ class F2 {
}
};
/** R.__ */
() => {
R.concat(R.__)([4, 5, 6], [1, 2, 3]); //=> [1, 2, 3, 4, 5, 6]
R.contains(R.__)([1, 2, 3], 3) //=> true
};
() => {
const addFour = (a: number) => (b: number) => (c: number) => (d: number) => a + b + c + d;
const uncurriedAddFour = R.uncurryN<number>(4, addFour);