Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
type/verify - check for the Boolean of verification results
Calling Sequence
type(a, verify(bool))
Parameters
a
-
any expression
bool
either 'true', 'false', or 'FAIL'
Description
Forcing a result from verify to return a Boolean value is too restrictive, so a more general class of objects may be returned, with the Boolean value of these being checked by the above types.
A result from a call to verify is considered to be true if the result is true. A result from a call to verify is considered to be either false or FAIL if either of those values is returned, or if a list containing either false or FAIL as a first operand is returned, respectively.
The special verification boolean will convert all return values which are lists to return the first operand of the list. This can be used if a boolean value is expected by some procedure.
The special verification truefalse will convert all return values which are lists to return the false. This can be used if a truefalse value is expected by some procedure.
Examples
See Also
type, type/verification, verify, verify/structured
Download Help Document