Genese complexity report

<- index.d.ts
Methods : 1
Complexity index : 0.7
Cyclomatic complexity : 1
Cognitive complexity
100 % Correct 1/1
0 % Warning 0/1 (threshold : 10)
0 % Error 0/1 (threshold : 20)
Cyclomatic complexity
100 % Correct 1/1
0 % Warning 0/1 (threshold : 5)
0 % Error 0/1 (threshold : 10)
Methods of index.d.ts
arrayUnion Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
            
            Create an array of unique values, in order, from the input arrays.
            
            @example
            ```
            import arrayUnion = require('array-union');
            
            arrayUnion([1, 1, 2, 3], [2, 3]);
            //=> [1, 2, 3]
            
            arrayUnion(['foo', 'foo', 'bar']);
            //=> ['foo', 'bar']
            
            arrayUnion(['🐱', '🦄', '🐻'], ['🦄', '🌈']);
            //=> ['🐱', '🦄', '🐻', '🌈']
            
            arrayUnion(['🐱', '🦄'], ['🐻', '🦄'], ['🐶', '🌈', '🌈']);
            //=> ['🐱', '🦄', '🐻', '🐶', '🌈']
            ```
            */
            declare function arrayUnion<ArgumentsType extends readonly unknown[]>( // ------- +0.3 Complexity index (+0.3 atomic)
            	...arguments: readonly ArgumentsType[] // -------------------------------------- +0.3 Complexity index (+0.3 atomic)
            ): ArgumentsType; // ------------------------------------------------------------ +0.1 Complexity index (+0.1 atomic)