Skip to content

basalt / ai/src / canonicalType

Function: canonicalType() ​

> canonicalType(raw): CanonicalType

Defined in: ai/src/make/fields.ts:9

Map a loose plan type ('string', 'DateTime', 'number'…) to a canonical type.

Parameters ​

raw ​

string

Returns ​

CanonicalType

Released under the MIT License.