@tsdotnet/ordered-registry
Advanced tools
Comparing version 1.0.14 to 1.0.15
@@ -98,3 +98,3 @@ /*! | ||
/** | ||
* Gets the number of nodes in the list. | ||
* Gets the number of entries. | ||
* @return {number} | ||
@@ -106,2 +106,9 @@ */ | ||
/** | ||
* Returns true if there are no entries. | ||
* @return {boolean} | ||
*/ | ||
isEmpty() { | ||
return !this._listInternal.unsafeCount; | ||
} | ||
/** | ||
* Returns true if the key exists and the value matches exactly. | ||
@@ -108,0 +115,0 @@ * @param entry |
@@ -64,3 +64,3 @@ /*! | ||
/** | ||
* Gets the number of nodes in the list. | ||
* Gets the number of entries. | ||
* @return {number} | ||
@@ -70,2 +70,7 @@ */ | ||
/** | ||
* Returns true if there are no entries. | ||
* @return {boolean} | ||
*/ | ||
isEmpty(): boolean; | ||
/** | ||
* Returns true if the key exists and the value matches exactly. | ||
@@ -72,0 +77,0 @@ * @param entry |
@@ -102,3 +102,3 @@ "use strict"; | ||
/** | ||
* Gets the number of nodes in the list. | ||
* Gets the number of entries. | ||
* @return {number} | ||
@@ -110,2 +110,9 @@ */ | ||
/** | ||
* Returns true if there are no entries. | ||
* @return {boolean} | ||
*/ | ||
isEmpty() { | ||
return !this._listInternal.unsafeCount; | ||
} | ||
/** | ||
* Returns true if the key exists and the value matches exactly. | ||
@@ -112,0 +119,0 @@ * @param entry |
{ | ||
"name": "@tsdotnet/ordered-registry", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "", | ||
@@ -25,3 +25,3 @@ "author": "electricessence", | ||
"lint": "eslint src/**/*.ts", | ||
"precommit": "pnpm i && run-p lint test && run-p build:* && npm run validate", | ||
"precommit": "pnpm i && run-p lint test && run-p build:* && npm run validate && git status -s", | ||
"prepublishOnly": "npm run build && run-p validate test", | ||
@@ -28,0 +28,0 @@ "preversion": "run-p lint test", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
39360
812