Files
Speedtest-Tracker/conf/site/node_modules/collect.js/docs/api/isEmpty.md
Henry Whitaker ea5808047f Tweaked gitignore
gitignore removed all composer and npm files, so automated builds would fail
2020-04-12 21:24:03 +01:00

306 B

isEmpty()

The isEmpty method returns true if the collection is empty; otherwise, false is returned:

collect().isEmpty();
// true

collect([]).isEmpty();
// true

collect({}).isEmpty();
// true

View source on GitHub