Files
ihrm/node_modules/collect.js/docs/api/isEmpty.md
Nikhil Ravi Cybrosys e1794e7422 [UPDT]translations in the views (#4)
[UPDT]Translations in the views
[FIX]major bug fixes
2023-05-18 15:05:28 +05:30

321 B
Executable File

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