You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+2-3
Original file line number
Diff line number
Diff line change
@@ -1399,6 +1399,7 @@ and use the result as the limit.
1399
1399
1400
1400
Define an array schema. Arrays can be typed or not, When specifying the element type, `cast` and `isValid`
1401
1401
will apply to the elements as well. Options passed into `isValid` are passed also passed to child schemas.
1402
+
1402
1403
Inherits from [`Schema`](#Schema).
1403
1404
1404
1405
```js
@@ -1418,9 +1419,7 @@ array().of(yup.number());
1418
1419
array(yup.number());
1419
1420
```
1420
1421
1421
-
The default `cast` behavior for `array` is: [`JSON.parse`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse)
0 commit comments