filter
Call Signature
Section titled “Call Signature”filter<
C,B,A>(refinement,annotations?): <I,R>(self) =>refine<C&B,Schema<A,I,R>>
Defined in: node_modules/.pnpm/effect@3.15.2/node_modules/effect/dist/dts/Schema.d.ts:1907
Type Parameters
Section titled “Type Parameters”C
B
A = C
Parameters
Section titled “Parameters”refinement
Section titled “refinement”(a, options, self) => a is B
annotations?
Section titled “annotations?”Filter<C & B, C>
Returns
Section titled “Returns”Type Parameters
Section titled “Type Parameters”I
R
Parameters
Section titled “Parameters”Schema<C, I, R>
Returns
Section titled “Returns”refine<C & B, Schema<A, I, R>>
3.10.0
Call Signature
Section titled “Call Signature”filter<
A,B>(refinement,annotations?): <I,R>(self) =>refine<B,Schema<A,I,R>>
Defined in: node_modules/.pnpm/effect@3.15.2/node_modules/effect/dist/dts/Schema.d.ts:1908
Type Parameters
Section titled “Type Parameters”A
B
Parameters
Section titled “Parameters”refinement
Section titled “refinement”(a, options, self) => a is B
annotations?
Section titled “annotations?”Filter<B, A>
Returns
Section titled “Returns”Type Parameters
Section titled “Type Parameters”I
R
Parameters
Section titled “Parameters”Schema<A, I, R>
Returns
Section titled “Returns”3.10.0
Call Signature
Section titled “Call Signature”filter<
S>(predicate,annotations?): (self) =>filter<S>
Defined in: node_modules/.pnpm/effect@3.15.2/node_modules/effect/dist/dts/Schema.d.ts:1909
Type Parameters
Section titled “Type Parameters”S extends Any
Parameters
Section titled “Parameters”predicate
Section titled “predicate”(a, options, self) => FilterReturnType
annotations?
Section titled “annotations?”Filter<NoInfer<Type<S>>, NoInfer<Type<S>>>
Returns
Section titled “Returns”(
self):filter<S>
Parameters
Section titled “Parameters”S
Returns
Section titled “Returns”filter<S>
3.10.0