diff --git a/core/connection.js b/core/connection.js index 2832dfe73..dcebdd371 100644 --- a/core/connection.js +++ b/core/connection.js @@ -605,11 +605,14 @@ Blockly.Connection.prototype.setCheck = function(check) { /** * Get a connection's compatibility. - * @return {Array} List of compatible value types. + * @return {Array} List of compatible value types. Null if + * all types are compatible. + * @public */ Blockly.Connection.prototype.getCheck = function() { return this.check_; }; + /** * Change a connection's shadow block. * @param {Element} shadow DOM representation of a block or null.