Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel collection every

collect([1, 2, 3, 4])->every(function ($value, $key) {
    return $value > 2;
});

// false
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #collection
ADD COMMENT
Topic
Name
3+1 =