UNPKG

mdx-m3-viewer

Version:

A browser WebGL model viewer. Mainly focused on models of the games Warcraft 3 and Starcraft 2.

12 lines 374 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Returns an array that only contains unique values found in the source array. */ function unique(a) { return a.reverse().filter((e, i, arr) => { return arr.indexOf(e, i + 1) === -1; }).reverse(); } exports.default = unique; //# sourceMappingURL=arrayunique.js.map