effect-io-ai

Package: effect
Module: Schema

Schema.isGreaterThanOrEqualToDate

Validates that a Date is greater than or equal to the specified date (inclusive).

Details

JSON Schema:

This check does not have a direct JSON Schema equivalent, as JSON Schema validates date strings, not Date objects.

Arbitrary:

When generating test data with fast-check, this applies a min constraint to ensure generated Date objects are greater than or equal to the specified date.

Signature

declare const isGreaterThanOrEqualToDate: (minimum: globalThis.Date, annotations?: Annotations.Filter) => SchemaAST.Filter<globalThis.Date>

Source

Since v4.0.0