mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 22:22:34 +03:00
bbaf619f63
swc_bundler: - [x] Fix wrapped esms. (denoland/deno#9307) - [x] Make test secure.
25 lines
506 B
TypeScript
25 lines
506 B
TypeScript
// Loaded from https://deno.land/x/ramda@v0.27.2/source/pair.js
|
|
|
|
|
|
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 = _curry2(function pair(fst, snd) { return [fst, snd]; });
|
|
export default pair;
|