effect-io-ai

Package: effect
Module: Schema

Schema.between

This filter checks whether the provided number falls within the specified minimum and maximum values.

Signature

declare const between: <S extends Schema.Any>(minimum: number, maximum: 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