locutus
Version:
Locutus other languages' standard libraries to JavaScript for fun and educational purposes
7 lines (6 loc) • 375 B
TypeScript
import { type PhpAssoc, type PhpKeyComparatorDescriptor, type PhpRuntimeValue } from '../_helpers/_phpTypes.ts';
type SortContextValue = PhpRuntimeValue;
export declare function uksort<T>(this: PhpAssoc<SortContextValue> & {
window?: PhpAssoc<SortContextValue>;
}, inputArr: Record<string, T>, sorter: PhpKeyComparatorDescriptor): boolean | Record<string, T>;
export {};