effect-io-ai

Package: effect
Module: Schema

Schema.lessThan

This filter checks whether the provided number is less than the specified maximum.

Signature

declare const lessThan: <S extends Schema.Any>(exclusiveMaximum: number, annotations?: Annotations.Filter<Schema.Type<S>>) => <A extends number>(self: S & Schema<A, Schema.Encoded<S>, Schema.Context<S>>) => filter<S>

Source

Since v3.10.0