Home > @websublime/schema > BaseSchemaType > check
BaseSchemaType.check() method
Test value types
Signature:
check(value: Maybe<T>, parent?: any, context?: any): Promise<CheckResult>;
Parameters
Parameter | Type | Description |
---|---|---|
value | Maybe<T> | Value |
parent | any | |
context | any |
Returns:
Promise<CheckResult>