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.