Example #1
0
 /**
  * This method evaluates whether the left operand is identical to the right operand.
  *
  * @access public
  * @static
  * @param Throwable\Runtime\Exception $x                    the left operand
  * @param Core\Type $y                                      the right operand
  * @return IBool\Type                                        whether the left operand is identical
  *                                                          to the right operand
  */
 public static function id(Throwable\Runtime\Exception $x, Core\Type $y)
 {
     // ===
     if ($y !== null) {
         if ($x->__typeOf() === $y->__typeOf()) {
             return IBool\Type::box($x->__hashCode() === $y->__hashCode());
         }
     }
     return IBool\Type::false();
 }