@blackglory/structures
Advanced tools
Comparing version 0.6.3 to 0.6.4
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SparseSet = void 0; | ||
const types_1 = require("@blackglory/types"); | ||
class SparseSet { | ||
@@ -15,3 +16,3 @@ constructor() { | ||
has(value) { | ||
return this.valueToValueIndex[value] !== undefined; | ||
return (0, types_1.isntUndefined)(this.valueToValueIndex[value]); | ||
} | ||
@@ -18,0 +19,0 @@ add(value) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SparseSet = void 0; | ||
const types_1 = require("@blackglory/types"); | ||
class SparseSet { | ||
@@ -15,3 +16,3 @@ constructor() { | ||
has(value) { | ||
return this.valueToValueIndex[value] !== undefined; | ||
return (0, types_1.isntUndefined)(this.valueToValueIndex[value]); | ||
} | ||
@@ -18,0 +19,0 @@ add(value) { |
{ | ||
"name": "@blackglory/structures", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
6558822
37530