Skip to content

Function: asString()

asString(options?): TTransformer<string, TString>

Create a string transformer

Parameters

ParameterTypeDescription
options?StringOptionsValidation options (see StringOptions)

Returns

TTransformer<string, TString>

Example

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

Defined in

src/transformer/as-string.ts:14

Released under the MIT License.