File tree 3 files changed +4
-4
lines changed
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) {
20
20
* Returns <code>true</code> if the <code>Leaf</code> object is a leaf. This
21
21
* always returns <code>true</code>.
22
22
*
23
- * @returns {Boolean }
23
+ * @returns {boolean }
24
24
*/
25
25
Leaf . prototype . isLeaf = function ( ) {
26
26
return true ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export default function Node(color, key) {
24
24
* Returns <code>true</code> if the <code>Node</code> object is a leaf. This
25
25
* always returns <code>false</code>.
26
26
*
27
- * @returns {Boolean }
27
+ * @returns {boolean }
28
28
*/
29
29
Node . prototype . isLeaf = function ( ) {
30
30
return false ;
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export default class RedBlackTree {
83
83
* key.
84
84
*
85
85
* @param {any } key - The input key.
86
- * @returns {Boolean }
86
+ * @returns {boolean }
87
87
*/
88
88
has ( key ) {
89
89
return this . _search ( key ) !== null ;
@@ -130,7 +130,7 @@ export default class RedBlackTree {
130
130
* then return <code>true</code>. Return <code>false</code> otherwise.
131
131
*
132
132
* @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.
134
134
*/
135
135
remove ( key ) {
136
136
const node = this . _search ( key ) ;
You can’t perform that action at this time.
0 commit comments