is-uniq.js 262 B

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