Skip to main content

CalculatedColumnValue<T>

CalculatedColumnValue<T> = T extends "int" | "double" ? number : T extends "qnum" | "bigint" ? number | string : T extends "string" ? string : T extends "bool" ? boolean : T extends "datetime" ? dayjs.Dayjs | Date | string : T extends "auto" ? number | string | boolean | dayjs.Dayjs | Date : never

Defined in: js-api/src/dataframe/column-list.ts:22

The value a calculated column of type T holds; 'auto' takes whatever the formula returns. A qnum takes a Qnum value or text such as '<5'; byte_array, dataframe and object columns take none.

Type Parameters​

Type Parameter
T extends ColumnType | "auto"