vtils

Home > validator > yup > mixed

yup.mixed() function

Signature:

export declare function mixed<T = any>(payload?: (schema: MixedSchema<T>) => MixedSchema<T>): MixedSchema<T>;

Parameters

Parameter Type Description
payload (schema: MixedSchema<T>) => MixedSchema<T> (Optional)

Returns:

MixedSchema<T>