'use strict';

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

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

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