From da9d1a3daf5d050413c20795c8f07f76e301fbdf Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Sun, 13 Nov 2016 01:07:45 -0500 Subject: [PATCH] Don't mind me --- src/util/Collection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/Collection.js b/src/util/Collection.js index 42c272a37..a5bf0b5f4 100644 --- a/src/util/Collection.js +++ b/src/util/Collection.js @@ -197,7 +197,7 @@ class Collection extends Map { * } */ exists(prop, value) { - if (prop === 'id') throw new RangeError('Don\'t use .find() with IDs. Instead, use .get(id).'); + if (prop === 'id') throw new RangeError('Don\'t use .find() with IDs. Instead, use .has(id).'); return Boolean(this.find(prop, value)); }