Function: Column()
Column<
T
>(name
,transformer
):TColumn
<T
>
Map with CSV Column with the corresponded transformer
Type Parameters
Type Parameter |
---|
T extends TTransform <TString , any > |
Parameters
Parameter | Type | Description |
---|---|---|
name | string | Column name |
transformer | T | Column transformer |
Returns
TColumn
<T
>
Example
ts
Column('name', asString());