new
AndValidator(validators: [...Shape],options?: IAndValidatorOptions,)
Shape extends Array<BaseValidator<any, any, any> | (() => BaseValidator<any, any, any>)>
Input = UnionToIntersection<inferEachInput<Shape>[number]>
Output = UnionToIntersection<inferEachOutput<Shape>[number]>
protected
Validators: (BaseValidator<any, any, any> | (() => BaseValidator<any, any, any>))[]
protected
_toJSON(ctx?: IJSONSchemaContext<IAndValidatorOptions>)
protected
_toSample(ctx?: ISampleDataContext<IAndValidatorOptions>)
protected
_toStatic(ctx?: IStaticContext<IAndValidatorOptions>): AndValidator<Shape, Input, Output>
and<V extends BaseValidator<any, any, any>>(validator: V | (() => V)): AndValidator<[...Shape, V], Input & inferInput<V>, Output & inferOutput<V>>
protected
overrideContext(ctx: any)