Filter<M>A single validation constraint with typed metadata describing the check
(e.g. { _tag: "isMinLength", minLength: 3 }).
modelsCheck
Source effect/SchemaRepresentation.ts:5015 lines
export interface interface Filter<M>A single validation constraint with typed metadata describing the check
(e.g. { _tag: "isMinLength", minLength: 3 }).
Filter<function (type parameter) M in Filter<M>M> {
readonly Filter<M>._tag: "Filter"_tag: "Filter"
readonly Filter<M>.annotations?: Schema.Annotations.Filter | undefinedannotations?: import SchemaSchema.Annotations.interface Annotations.FilterAnnotations for filter schema nodes (created via Schema.filter). Extends
Augment
with an optional error message, identifier, and metadata.
Filters are intentionally non-parametric to keep them covariant.
Filter | undefined
readonly Filter<M>.meta: Mmeta: function (type parameter) M in Filter<M>M
}Referenced by 3 symbols