locutus
Version:
Locutus other languages' standard libraries to JavaScript for fun and educational purposes
5 lines (4 loc) • 329 B
TypeScript
import { type PhpAssoc, type PhpKeyComparatorDescriptor } from '../_helpers/_phpTypes.ts';
type DiffArray<T> = PhpAssoc<T> | T[];
export declare function array_diff_ukey<T>(arr1: PhpAssoc<T>, ...arraysAndCallback: [arr2: DiffArray<T>, ...rest: Array<DiffArray<T>>, callback: PhpKeyComparatorDescriptor]): PhpAssoc<T>;
export {};