API reference: @salmonui/data/json
fieldIndexfunction
import { fieldIndex } from '@salmonui/data/json';Also exported from @salmonui/data.
function fieldIndex(fields: readonly string[]): ReadonlyMap<string, number>;
Index of each field in the tuple header.