swc/crates/swc_bundler/tests/.cache/deno/5b0337a0cb560372656797c6a086cb8135efc17a.ts
2021-11-09 20:42:49 +09:00

24 lines
360 B
TypeScript

// Loaded from https://deno.land/x/ramda@v0.27.2/source/dec.js
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 = add(-1);
export default dec;