Sha256: 5618929e9cc6548e9c7315948bd1114030852b3848b8d8c5662a2125cbcf7704
Contents?: true
Size: 482 Bytes
Versions: 26
Compression:
Stored size: 482 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = uniqueExcept; function uniqueExcept(exclude) { return function unique() { const list = Array.prototype.concat.apply([], arguments); return list.filter((item, i) => { if (item.toLowerCase() === exclude) { return true; } return i === list.indexOf(item); }); }; }; module.exports = exports["default"];
Version data entries
26 entries across 25 versions & 8 rubygems