vtils

Home > validator > yup > reach

yup.reach() function

Signature:

export declare function reach<T extends {}>(schema: ObjectSchema<T>, path: string, value?: T, context?: {}): MixedSchema;

Parameters

Parameter Type Description
schema ObjectSchema<T>  
path string  
value T (Optional)
context {} (Optional)

Returns:

MixedSchema