Mathematica: Webel ADT pseudo classes: An EX$Val has concise methods for testing the type of its wrapped '$$' value: isR, isI, isB, isQ, isS. These may be used in ADT "constructor" type tests.

Webel IT Australia promotes the amazing Mathematica tool and the powerful Wolfram Language and offers professional Mathematica services for computational computing and data analysis. Our Mathematica tips, issue tracking, and wishlist is offered here most constructively to help improve the tool and language and support the Mathematica user community.
DISCLAIMER: Wolfram Research does not officially endorse analysis by Webel IT Australia.
Icon class
icon_class
far fa-sticky-note
icon_class_computed
far fa-sticky-note
Note kind
Policy level
SysMLv1.x keywords
Mathematica keywords
Webel Mathematica keywords
Keywords
An EX$Val has the following concise methods for checking the type of its wrapped '$$' value: isR (for Real); isI (for Integer); isB (for "Boolean" True|False); isS (for String); and isQ (for Quantity).

These may be used in ADT "constructor" type checks (which can leverage the Wolfram Language MatchQ and the Devel` package functions checkFatalArgs and failedArgsHeads).

For an example visit:

Relates to
Related notes
Related notes (backlinks)
Related snippets (extracts)
Visit also
Visit also (backlinks)