UNPKG
lean4-code-actions
Version:
latest (1.1.32)
1.1.32
Refactorings and snippets for Lean 4
lean4-code-actions
/
libs
/
utils
/
zod
/
Refinement
/
index.ts
6 lines
(3 loc)
•
217 B
text/typescript
View Raw
1
2
3
4
5
6
import
{
RefinementCtx
}
from
'zod'
export
type
RefinementVoid
<
In
> =
(
input
:
In
,
ctx
:
RefinementCtx
) =>
void
export
type
RefinementTypeAssertion
<
In
,
Out
extends
In
> =
(
input
:
In
,
ctx
:
RefinementCtx
) =>
input is
Out