TanStack

TransformDataValueFn

Type Alias: TransformDataValueFn()

ts
type TransformDataValueFn = (dataValue) => any;

Defined in: types/type-utils.ts:15

Normalizes a row's value before a filter or sort comparator sees it.

Attach as resolveDataValue on filter/sort functions built with constructFilterFn/constructSortFn (e.g. to lowercase or strip diacritics).

Parameters

dataValue

any

Returns

any