Data grid / foldkit-data-grid
KindOfValue
type · packages/data-grid/src/filter.ts:54
type KindOfValue<V> = [V] extends [boolean]
? 'Checkbox'
: [V] extends [Date]
? 'Date'
: [V] extends [number]
? 'Number'
: AllTextLiterals<V> extends true
? 'Choice'
: 'Text'What filterKindOf reads from a schema's decoded side, at the type level.