function isDataType(value) {
    return value === DataType_1.DataType.ABSTRACT ||
        value === DataType_1.DataType.NUMBER ||
        (typeof value === 'function' &&
            value({}) instanceof DataType_1.DataType.ABSTRACT) ||
        value instanceof DataType_1.DataType.ABSTRACT;
}
/*
 * Checks if specified value is a sequelize data type (ABSTRACT, STRING...)
 */
Checks if specified value is a sequelize data type (ABSTRACT, STRING...)
Checks if specified value is a sequelize data type ( ABSTRACT STRING ... )
function isDataType(value) {
    return value === DataType_1.DataType.ABSTRACT ||
        value === DataType_1.DataType.NUMBER ||
        (typeof value === 'function' &&
            value({}) instanceof DataType_1.DataType.ABSTRACT) ||
        value instanceof DataType_1.DataType.ABSTRACT;
}
function isDataType ( value ) { return value === DataType_1 . DataType . ABSTRACT || value === DataType_1 . DataType . NUMBER || ( typeof value === 'function' && value ( { } ) instanceof DataType_1 . DataType . ABSTRACT ) || value instanceof DataType_1 . DataType . ABSTRACT ; }
Checks if specified value is a sequelize data type (ABSTRACT, STRING...)
Checks if specified value is a sequelize data type ( ABSTRACT STRING ... )