Home > @websublime/schema > ArraySchemaType > check
ArraySchemaType.check() method
Validate array
Signature:
check(values: Maybe<Array<T>>, parent?: any, context?: any, drill?: boolean): Promise<CheckResult>;
Parameters
Parameter | Type | Description |
---|---|---|
values | Maybe<Array<T>> | array values to be validated |
parent | any | parent value |
context | any | |
drill | boolean |
Returns:
Promise<CheckResult>