Nothing to see here 👀

This commit is contained in:
Schuyler Cebulskie
2016-11-13 01:13:13 -05:00
parent da9d1a3daf
commit bb3b709d6e

View File

@@ -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));
}