test-action-debian-package/node_modules/ramda/es/dec.js

21 lines
307 B
JavaScript
Raw Normal View History

2020-03-26 14:37:35 +00:00
import add from "./add.js";
/**
* Decrements its argument.
*
* @func
* @memberOf R
* @since v0.9.0
* @category Math
* @sig Number -> Number
* @param {Number} n
* @return {Number} n - 1
* @see R.inc
* @example
*
* R.dec(42); //=> 41
*/
var dec =
/*#__PURE__*/
add(-1);
export default dec;