The EGL Boolean type is a value type that lets you create a logical value. In Eclipse IDE for EGL Developers, the type definition for Boolean is EBoolean.
eglx.lang
/*
* This is the class for bigints, 64-bit signed binary numbers.
*/
externalType EBigint extends ENumber type ClassType
/**
* {@Operation ==} Compares two booleans.
*/
static function $EQ(lvalue EBoolean in, rvalue EBoolean in)
returns(EBoolean) {@Operation{"=="}};
/**
* {@Operation !=} Compares two booleans.
*/
static function $NEQ(lvalue EBoolean in, rvalue EBoolean in)
returns(EBoolean) {@Operation{"!="}};
/**
* {@Operation &&} Returns true if both operands are true.
*/
static function $AND(lvalue EBoolean in, rvalue EBoolean in)
returns(EBoolean) {@Operation{"&&"}};
/**
* {@Operation ||} Returns true if either operand is true.
*/
static function $OR(lvalue EBoolean in, rvalue EBoolean in)
returns(EBoolean) {@Operation{"||"}};
/**
* {@Operation !} Negates a boolean.
*/
static function $NOT(value EBoolean in)
returns (EBoolean) {@Operation{"!"}};
end
| Target | Issue |
|---|---|
| Java | No issues. |
| JavaScript | No issues. |