From 96d61565ea4e2ce570d408619a9e4ad8c5f83b97 Mon Sep 17 00:00:00 2001 From: Robert Mennell Date: Sat, 13 Apr 2019 00:24:37 -0700 Subject: [PATCH] Maps and Sets are not collections, but Stores They use size instead of length --- snippets/isEmpty.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/isEmpty.md b/snippets/isEmpty.md index f620f3727..00f62420d 100644 --- a/snippets/isEmpty.md +++ b/snippets/isEmpty.md @@ -1,6 +1,6 @@ ### isEmpty -Returns true if the a value is an empty object, collection, map or set, has no enumerable properties or is any type that is not considered a collection. +Returns true if the a value is an empty object, collection, has no enumerable properties or is any type that is not considered a collection. Check if the provided value is `null` or if its `length` is equal to `0`.