DataTypes

DataTypes

The collection of built-in data types, such as STRING, INTEGER, and DATE. Available on the realm as realm.DataTypes and exported as DataTypes from 'leoric'. The invokable proxy makes every type callable, so STRING(255) and INTEGER.UNSIGNED work as well.

Constructor

new DataTypes()

Methods

(static) is(params)

Check if params is instance of DataType or not

Parameters:
Name Type Description
params