Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cotton/src/utils/models.ts>getDataType

SQL Database Toolkit for Deno
Latest
function getDataType
import { getDataType } from "https://deno.land/x/cotton@v0.7.5/src/utils/models.ts";

Get data type from type metadata.

Parameters

type: any

the design:type value from Reflect.getMetadata