Skip to content

maxLength

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

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

Type Parameters

S extends Any

Parameters

maxLength

number

annotations?

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

Returns

Function

Type Parameters

A extends string

Parameters

self

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

Returns

filter<S>

Since

3.10.0