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