diff --git a/src/Container.js b/src/Container.js index fdc6717e..532c9ef1 100644 --- a/src/Container.js +++ b/src/Container.js @@ -16,6 +16,7 @@ * determine if node has children * @method * @memberof Kinetic.Container.prototype + * @returns {Boolean} */ hasChildren: function() { return this.getChildren().length > 0;