Skip to content

normalizeColumns

Since v3.0.0

Normalize an array of column shorthands to ColumnConfig objects. Strings are expanded via parseColumnShorthand; objects pass through untouched.

function normalizeColumns(columns: ColumnShorthand<TRow>[]): ColumnConfig<TRow>[]
NameTypeDescription
columnsColumnShorthand<TRow>[]Array of column shorthands (strings or ColumnConfig objects)
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt