From 971fe77083d7bca70d6fbcb6d40aa35b2f22c948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Gon=C3=A7alves?= Date: Thu, 19 Feb 2026 10:21:21 +0000 Subject: [PATCH] Fix `NullOrDate` in `README` --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fe5d81d..9af350d 100644 --- a/README.md +++ b/README.md @@ -57,8 +57,8 @@ The following set of extra asserts are provided by this package: | [Json](#json) | | | [NotEmpty](#notempty) | | | [NullOr](#nullor) | | -| [NullOrDate](#nullordate) | | | [NullOrBoolean](#nullorboolean) | | +| [NullOrDate](#nullordate) | | | [NullOrString](#nullorstring) | | | [Phone](#phone) | [`google-libphonenumber`][google-libphonenumber-url] | | [PlainObject](#plainobject) | | @@ -264,6 +264,10 @@ Tests if the value is a `null` or validates against the assert received as an ar Tests if the value is a `null` or `boolean`. +### NullOrDate + +Tests if the value is a `null`, a `Date`, or a string parseable by `Date.parse()`. + ### NullOrString Tests if the value is a `null` or `string`, optionally within some boundaries.