components/blockly-src/blocks/logic.js
function() {
    this.jsonInit({
      "message0": Blockly.Msg.LOGIC_NEGATE_TITLE,
      "args0": [
        {
          "type": "input_value",
          "name": "BOOL",
          "check": "Boolean"
        }
      ],
      "output": "Boolean",
      "colour": Blockly.Blocks.logic.HUE,
      "tooltip": Blockly.Msg.LOGIC_NEGATE_TOOLTIP,
      "helpUrl": Blockly.Msg.LOGIC_NEGATE_HELPURL
    });
  }
function() {
    this.jsonInit({
      "message0": Blockly.Msg.LOGIC_NEGATE_TITLE,
      "args0": [
        {
          "type": "input_value",
          "name": "BOOL",
          "check": "Boolean"
        }
      ],
      "output": "Boolean",
      "colour": Blockly.Blocks.logic.HUE,
      "tooltip": Blockly.Msg.LOGIC_NEGATE_TOOLTIP,
      "helpUrl": Blockly.Msg.LOGIC_NEGATE_HELPURL
    });
  }
function ( ) { this . jsonInit ( { "message0" : Blockly . Msg . LOGIC_NEGATE_TITLE , "args0" : [ { "type" : "input_value" , "name" : "BOOL" , "check" : "Boolean" } ] , "output" : "Boolean" , "colour" : Blockly . Blocks . logic . HUE , "tooltip" : Blockly . Msg . LOGIC_NEGATE_TOOLTIP , "helpUrl" : Blockly . Msg . LOGIC_NEGATE_HELPURL } ) ; }
Block for negation.
@this Blockly.Block
Block for negation .