Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sequelize/sequelize
/ validate
Method
validate
lib/data-types.js:154–159 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
152
return
'CITEXT'
;
153
}
154
validate(value) {
155
if
(typeof value !==
'string'
) {
156
throw
new
sequelizeErrors.ValidationError(util.format(
'%j is not a valid string'
, value));
157
}
158
return
true;
159
}
160
}
161
162
/**
Callers
nothing calls this directly
Calls
1
format
Method · 0.80
Tested by
no test coverage detected