diff --git a/src/util/Collection.js b/src/util/Collection.js index 36d13fdd3..193c0cfd4 100644 --- a/src/util/Collection.js +++ b/src/util/Collection.js @@ -210,7 +210,6 @@ class Collection extends Map { * } */ exists(prop, value) { - if (prop === 'id') throw new RangeError('Don\'t use .exists() with IDs. Instead, use .has(id).'); return Boolean(this.find(prop, value)); }