UNPKG

locutus

Version:

Locutus other languages' standard libraries to JavaScript for fun and educational purposes

7 lines (6 loc) 434 B
import type { PhpAssoc } from '../_helpers/_phpTypes.ts'; type ColumnRow<TValue> = PhpAssoc<TValue>; type ColumnInput<TValue> = ColumnRow<TValue>[] | PhpAssoc<ColumnRow<TValue>>; type ColumnOutput<TValue> = PhpAssoc<TValue | ColumnRow<TValue> | undefined>; export declare function array_column<TValue>(input: ColumnInput<TValue>, columnKey: string | number | null, indexKey?: string | number | null): ColumnOutput<TValue>; export {};