AngouriMath
ToBoolean(System.Boolean)
Method (no overloads)
Summary
Converts an Boolean into an AM's understandable Boolean which can be hung with others
Returns
AM's Boolean
Example
The operators build a boolean expression rather than deciding it, so the answer is
a node until it is evaluated:
Prints
a node until it is evaluated:
Console.WriteLine(true.ToBoolean() & false.ToBoolean());
Console.WriteLine((true.ToBoolean() & false.ToBoolean()).EvalBoolean());Prints
True and False
FalseAngouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online