UNPKG

fregejs

Version:

A propositional logic library written in Typescript

6 lines (4 loc) 194 B
import { ProofEndOfHypothesis, ProofItem } from 'types/syntactic/proof'; export function isEndOfHypothesis(x: ProofItem): x is ProofEndOfHypothesis { return x.type === 'End of Hypothesis'; }