UNPKG

dependency-injection-cat

Version:

DI Cat is a truly clean DI-container, which allows you not to pollute your business logic with decorators from DI/IOC libraries!

8 lines (7 loc) 261 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.uniqNotEmpty = void 0; function uniqNotEmpty(list) { return Array.from(new Set(list)).filter(function (it) { return Boolean(it); }); } exports.uniqNotEmpty = uniqNotEmpty;