lessThanOrEqualTo
constlessThanOrEqualTo: <S>(maximum,annotations?) => <A>(self) =>filter<S>
Defined in: node_modules/.pnpm/effect@3.15.2/node_modules/effect/dist/dts/Schema.d.ts:2786
This schema checks whether the provided number is less than or equal to the specified maximum.
Type Parameters
Section titled “Type Parameters”S extends Any
Parameters
Section titled “Parameters”maximum
Section titled “maximum”number
annotations?
Section titled “annotations?”Returns
Section titled “Returns”<
A>(self):filter<S>
Type Parameters
Section titled “Type Parameters”A extends number
Parameters
Section titled “Parameters”S & Schema<A, Encoded<S>, Context<S>>
Returns
Section titled “Returns”filter<S>
3.10.0