hasSchema
Function: hasSchema()
hasSchema(
webdaObject):boolean
Defined in: packages/core/src/schemas/hooks.ts:144
Check whether a JSON schema is registered for the given model or schema key
Parameters
webdaObject
string | Model
the Webda object to validate
Returns
boolean
true if the condition is met