PHP 7.4.33
Preview: index.d.ts Size: 609 B
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/array-union/index.d.ts
/**
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[]>(
	...arguments: readonly ArgumentsType[]
): ArgumentsType;

export = arrayUnion;

Directory Contents

Dirs: 0 × Files: 5
Name Size Perms Modified Actions
609 B lrw-r--r-- 2025-03-28 11:04:35
Edit Download
104 B lrw-r--r-- 2025-03-28 11:04:35
Edit Download
1.08 KB lrw-r--r-- 2025-03-28 11:04:35
Edit Download
634 B lrw-r--r-- 2025-03-28 11:04:35
Edit Download
713 B lrw-r--r-- 2025-03-28 11:04:35
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).