UNPKG

claude-flow

Version:

Enterprise-grade AI agent orchestration with ruv-swarm integration (Alpha Release)

26 lines (19 loc) 613 B
/** Create an array of unique values, in order, from the input arrays. @example ``` import arrayUnion = require('array-union'); constructor([1, 1, 2, 3], [2, 3]); //=> [1, 2, 3] constructor(['foo', 'foo', 'bar']); //=> ['foo', 'bar'] constructor(['🐱', '🦄', '🐻'], ['🦄', '🌈']); //=> ['🐱', '🦄', '🐻', '🌈'] constructor(['🐱', '🦄'], ['🐻', '🦄'], ['🐶', '🌈', '🌈']); //=> ['🐱', '🦄', '🐻', '🐶', '🌈'] ``` */ declare function arrayUnion<ArgumentsType extends readonly unknown[]>( ...arguments: readonly ArgumentsType[] ): ArgumentsType; export = arrayUnion;