"Boolean" (Compiled Type)

"Boolean"

represents a Boolean atomic type specifier.

Details

  • "Boolean" can be used in Typed and related constructs to specify a type.

Properties

  • Values held by "Boolean" are True and False.

Conversions

    From Expressions

  • True and False expressions can be converted into compiled code elements with the type "Boolean".
  • To Expressions

  • "Boolean" compiled elements can be converted into True or False expressions.

Examples

Basic Examples  (1)

"Boolean" can be used as an input and output from a CompiledCodeFunction:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=