Fix Collection.exists (#566)

This commit is contained in:
Schuyler Cebulskie
2016-08-30 04:46:40 -04:00
committed by Amish Shah
parent 4f130a1a58
commit 60a1ba3088

View File

@@ -114,7 +114,7 @@ class Collection extends Map {
* } * }
*/ */
exists(key, value) { exists(key, value) {
return Boolean(this.get(key, value)); return Boolean(this.find(key, value));
} }
_arrayMethod(method, args) { _arrayMethod(method, args) {