is-uniq.js 261 B

123456789
  1. "use strict";
  2. var indexOf = require("./e-index-of")
  3. , every = Array.prototype.every
  4. , isFirst;
  5. isFirst = function (value, index) { return indexOf.call(this, value) === index; };
  6. module.exports = function () { return every.call(this, isFirst, this); };