src/Collection.php
public function removeEmpty(array $empty = [false, null, ''])
    {
        return $this->filter(function ($item) use ($empty) {
            return !in_array($item, $empty, true);
        });
    }
public function removeEmpty(array $empty = [false, null, ''])
    {
        return $this->filter(function ($item) use ($empty) {
            return !in_array($item, $empty, true);
        });
    }
public function removeEmpty ( array $ empty = [ false , null , '' ] ) { return $ this -> filter ( function ( $ item ) use ( $ empty ) { return ! in_array ( $ item , $ empty , true ) ; } ) ; }
Removes values that are matched as empty through an equivalence check

@param array $empty Array of values considered to be "empty"

@return Collection
Removes values that are matched as empty through an equivalence check