filter
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.14.8/node_modules/effect/dist/dts/Schema.d.ts:1907
Type Parameters
• C
• B
• A = C
Parameters
refinement
(a
, options
, self
) => a is B
annotations?
Filter
<C
& B
, C
>
Returns
Function
Type Parameters
• I
• R
Parameters
self
Schema
<C
, I
, R
>
Returns
refine
<C
& B
, Schema
<A
, I
, R
>>
Since
3.10.0
Call Signature
filter<
A
,B
>(refinement
,annotations
?): <I
,R
>(self
) =>refine
<B
,Schema
<A
,I
,R
>>
Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/Schema.d.ts:1908
Type Parameters
• A
• B
Parameters
refinement
(a
, options
, self
) => a is B
annotations?
Filter
<B
, A
>
Returns
Function
Type Parameters
• I
• R
Parameters
self
Schema
<A
, I
, R
>
Returns
Since
3.10.0
Call Signature
filter<
S
>(predicate
,annotations
?): (self
) =>filter
<S
>
Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/Schema.d.ts:1909
Type Parameters
• S extends Any
Parameters
predicate
(a
, options
, self
) => FilterReturnType
annotations?
Filter
<NoInfer
<Type
<S
>>, NoInfer
<Type
<S
>>>
Returns
Function
Parameters
self
S
Returns
filter
<S
>
Since
3.10.0