'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.subtract = undefined;

var _katsuCurry = require('katsu-curry');

/**
 * subtract things
 * @method subtract
 * @param {number} a - a number
 * @param {number} b - b number
 * @returns {number} subtracted
 * @public
 * @example
 * import {subtract} from 'f-utility'
 * subtract(4, 2) // -2
 */
var subtract = exports.subtract = (0, _katsuCurry.curry)(function (a, b) {
  return b - a;
});