locutus
Version:
Locutus other languages' standard libraries to JavaScript for fun and educational purposes
10 lines (9 loc) • 429 B
TypeScript
import { type PhpAssoc, type PhpComparatorDescriptor, type PhpKeyComparatorDescriptor } from '../_helpers/_phpTypes.ts';
type DiffArray<T> = PhpAssoc<T> | T[];
export declare function array_udiff_uassoc<T>(arr1: PhpAssoc<T>, ...arraysAndComparators: [
arr2: DiffArray<T>,
...rest: Array<DiffArray<T>>,
valueCallback: PhpComparatorDescriptor<T>,
keyCallback: PhpKeyComparatorDescriptor
]): PhpAssoc<T>;
export {};