Skip to content

int

int<S>(annotations?): <A>(self) => filter<S>

Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/Schema.d.ts:2752

Ensures that the provided value is an integer number (excluding NaN, +Infinity, and -Infinity).

Type Parameters

S extends Any

Parameters

annotations?

Filter<Type<S>, Type<S>>

Returns

Function

Type Parameters

A extends number

Parameters

self

S & Schema<A, Encoded<S>, Context<S>>

Returns

filter<S>

Since

3.10.0