forked from waja/action-debian-package
33 lines
625 B
JavaScript
33 lines
625 B
JavaScript
var _curry1 =
|
|
/*#__PURE__*/
|
|
require("./internal/_curry1");
|
|
|
|
var _identity =
|
|
/*#__PURE__*/
|
|
require("./internal/_identity");
|
|
/**
|
|
* A function that does nothing but return the parameter supplied to it. Good
|
|
* as a default or placeholder function.
|
|
*
|
|
* @func
|
|
* @memberOf R
|
|
* @since v0.1.0
|
|
* @category Function
|
|
* @sig a -> a
|
|
* @param {*} x The value to return.
|
|
* @return {*} The input value, `x`.
|
|
* @example
|
|
*
|
|
* R.identity(1); //=> 1
|
|
*
|
|
* const obj = {};
|
|
* R.identity(obj) === obj; //=> true
|
|
* @symb R.identity(a) = a
|
|
*/
|
|
|
|
|
|
var identity =
|
|
/*#__PURE__*/
|
|
_curry1(_identity);
|
|
|
|
module.exports = identity; |