UNPKG
fregejs
Version:
latest (0.4.0)
0.4.0
0.3.0
0.2.3
0.2.1
0.2.0
0.1.0
A propositional logic library written in Typescript
github.com/etec-sa
etec-sa/frege
fregejs
/
src
/
utils
/
isEndOfHypothesis.ts
6 lines
(4 loc)
•
194 B
text/typescript
View Raw
1
2
3
4
5
6
import
{
ProofEndOfHypothesis
,
ProofItem
}
from
'types/syntactic/proof'
;
export
function
isEndOfHypothesis
(
x: ProofItem
): x is
ProofEndOfHypothesis
{
return
x.
type
===
'End of Hypothesis'
; }