init
This commit is contained in:
25
node_modules/ramda/es/pair.js
generated
vendored
Normal file
25
node_modules/ramda/es/pair.js
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
import _curry2 from "./internal/_curry2.js";
|
||||
/**
|
||||
* Takes two arguments, `fst` and `snd`, and returns `[fst, snd]`.
|
||||
*
|
||||
* @func
|
||||
* @memberOf R
|
||||
* @since v0.18.0
|
||||
* @category List
|
||||
* @sig a -> b -> (a,b)
|
||||
* @param {*} fst
|
||||
* @param {*} snd
|
||||
* @return {Array}
|
||||
* @see R.objOf, R.of
|
||||
* @example
|
||||
*
|
||||
* R.pair('foo', 'bar'); //=> ['foo', 'bar']
|
||||
*/
|
||||
|
||||
var pair =
|
||||
/*#__PURE__*/
|
||||
_curry2(function pair(fst, snd) {
|
||||
return [fst, snd];
|
||||
});
|
||||
|
||||
export default pair;
|
Reference in New Issue
Block a user