Home > @websublime/schema > ObjectSchemaType > check
ObjectSchemaType.check() method
Check if object is valid.
Signature:
check(value: Maybe<any>, parent?: any, context?: any, drill?: boolean): Promise<CheckResult>;
Parameters
Parameter | Type | Description |
---|---|---|
value | Maybe<any> | |
parent | any | |
context | any | |
drill | boolean |
Returns:
Promise<CheckResult>