Skip to main content

TransformDataValueFn

还没翻译译自英文(tanstack.com)本页 9 段都还没译

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