A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pigulla.github.io/class-validator-extended/functions/FutureDate-1.html below:

Website Navigation


FutureDate | class-validator-extended - v4.2.1

Checks if the given value is a Date object in the future.

Beware that the behaviour of this check depends on the current time and can thus be difficult to test. In particular, as time goes by the property can become invalid without ever changing its value.

Example
// Ensure the value is in the future.
@FutureDay()
scheduledFor: Date

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4