From bb3b709d6e315d0facb1c5c701d1e12fd796c4c8 Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Sun, 13 Nov 2016 01:13:13 -0500 Subject: [PATCH] Nothing to see here :eyes: --- 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 a5bf0b5f4..9d36e5efa 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 .has(id).'); + if (prop === 'id') throw new RangeError('Don\'t use .exists() with IDs. Instead, use .has(id).'); return Boolean(this.find(prop, value)); }