IMathLinkGetBoolean Method
Reads the Wolfram Language symbols True or False as a bool.
Namespace: Wolfram.NETLinkAssembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
Function GetBoolean As Boolean
abstract GetBoolean : unit -> bool
Return Value
Boolean
It returns true if the symbol True is read, and false if False (or any other non-True symbol) is read.
If you want to make sure that either True or False is on the link, don't use GetBoolean; instead, read
the symbol with
GetSymbol and test its value yourself.
MathLinkException | If the waiting data cannot be read in this format, or on any other MathLink error. |