Skip to content

Conversation

alipowerful7
Copy link
Contributor

@alipowerful7 alipowerful7 commented Oct 2, 2025

add isNotEmpty in lazy collection

    /**
     * Determine if the items are not empty or not.
     *
     * @return bool
     */
    public function isNotEmpty()
    {
        return ! $this->isEmpty();
    }

and write test for isEmpty and isNotEmpty

@alipowerful7 alipowerful7 deleted the feature/add-is-not-empty-for-lazy-collection branch October 3, 2025 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants