components/blockly-src/blocks/text.js
function() {
    this.jsonInit({
      "message0": Blockly.Msg.TEXT_LENGTH_TITLE,
      "args0": [
        {
          "type": "input_value",
          "name": "VALUE",
          "check": ['String', 'Array']
        }
      ],
      "output": 'Number',
      "colour": Blockly.Blocks.texts.HUE,
      "tooltip": Blockly.Msg.TEXT_LENGTH_TOOLTIP,
      "helpUrl": Blockly.Msg.TEXT_LENGTH_HELPURL
    });
  }
function() {
    this.jsonInit({
      "message0": Blockly.Msg.TEXT_LENGTH_TITLE,
      "args0": [
        {
          "type": "input_value",
          "name": "VALUE",
          "check": ['String', 'Array']
        }
      ],
      "output": 'Number',
      "colour": Blockly.Blocks.texts.HUE,
      "tooltip": Blockly.Msg.TEXT_LENGTH_TOOLTIP,
      "helpUrl": Blockly.Msg.TEXT_LENGTH_HELPURL
    });
  }
function ( ) { this . jsonInit ( { "message0" : Blockly . Msg . TEXT_LENGTH_TITLE , "args0" : [ { "type" : "input_value" , "name" : "VALUE" , "check" : [ 'String' , 'Array' ] } ] , "output" : 'Number' , "colour" : Blockly . Blocks . texts . HUE , "tooltip" : Blockly . Msg . TEXT_LENGTH_TOOLTIP , "helpUrl" : Blockly . Msg . TEXT_LENGTH_HELPURL } ) ; }
Block for string length.
@this Blockly.Block
Block for string length .