Skip to content

Commit 5c39b38

Browse files
Fix NullOrDate in README.md
1 parent fa20866 commit 5c39b38

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ The following set of extra asserts are provided by this package:
5757
| [Json](#json) | |
5858
| [NotEmpty](#notempty) | |
5959
| [NullOr](#nullor) | |
60-
| [NullOrDate](#nullordate) | |
6160
| [NullOrBoolean](#nullorboolean) | |
61+
| [NullOrDate](#nullordate) | |
6262
| [NullOrString](#nullorstring) | |
6363
| [Phone](#phone) | [`google-libphonenumber`][google-libphonenumber-url] |
6464
| [PlainObject](#plainobject) | |
@@ -264,6 +264,10 @@ Tests if the value is a `null` or validates against the assert received as an ar
264264

265265
Tests if the value is a `null` or `boolean`.
266266

267+
### NullOrDate
268+
269+
Tests if the value is a `null`, a `Date`, or a string parseable by `Date.parse()`.
270+
267271
### NullOrString
268272

269273
Tests if the value is a `null` or `string`, optionally within some boundaries.

0 commit comments

Comments
 (0)