TypeEnsurer
Base class for unary predicates (arity 1) that always succeed if their argument is of the expected type, and throw otherwise, rather than merely testing and failing on mismatch (contrast with TypeTester). ensureType is expected to throw (typically a it.unibo.tuprolog.solve.exception.error.TypeError) on a mismatching term, and return normally otherwise.
Inheritors
Properties
Link copied to clipboard
Gets this wrapped primitive description Pair formed by signature and wrapped primitive type
Link copied to clipboard
Checked primitive implementation