Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) | |
Expand Down Expand Up @@ -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.
Expand Down