Home > validator > yup > ObjectSchema > shape
Signature:
shape(fields: GetObjectSchema<T>, noSortEdges?: Array<[string, string]>): this;
| Parameter | Type | Description |
|---|---|---|
| fields | GetObjectSchema<T> | |
| noSortEdges | Array<[string, string]> | (Optional) |
Returns:
this