🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
306 B
Executable File
306 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