Skip to content

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

ParameterTypeDescription
namestringColumn name
transformerTColumn transformer

Returns

TColumn<T>

Example

ts
Column('name', asString());

Defined in

src/schema/column.ts:26

Released under the MIT License.