File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export default function Leaf(parent) {
2020 * Returns <code>true</code> if the <code>Leaf</code> object is a leaf. This
2121 * always returns <code>true</code>.
2222 *
23- * @returns {Boolean }
23+ * @returns {boolean }
2424 */
2525Leaf . prototype . isLeaf = function ( ) {
2626 return true ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export default function Node(color, key) {
2424 * Returns <code>true</code> if the <code>Node</code> object is a leaf. This
2525 * always returns <code>false</code>.
2626 *
27- * @returns {Boolean }
27+ * @returns {boolean }
2828 */
2929Node . prototype . isLeaf = function ( ) {
3030 return false ;
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export default class RedBlackTree {
8383 * key.
8484 *
8585 * @param {any } key - The input key.
86- * @returns {Boolean }
86+ * @returns {boolean }
8787 */
8888 has ( key ) {
8989 return this . _search ( key ) !== null ;
@@ -130,7 +130,7 @@ export default class RedBlackTree {
130130 * then return <code>true</code>. Return <code>false</code> otherwise.
131131 *
132132 * @param {any } key - The input key.
133- * @returns {Boolean } - Whether the key existed in the tree before removal.
133+ * @returns {boolean } - Whether the key existed in the tree before removal.
134134 */
135135 remove ( key ) {
136136 const node = this . _search ( key ) ;
You can’t perform that action at this time.
0 commit comments