public function stripEmpty(): self
    {
        return $this->filter(
            static function ($item) {
                if ($item === null) {
                    return false;
                }

                return (bool) \trim((string) $item);
            }
        );
    }
public function stripEmpty(): self
    {
        return $this->filter(
            static function ($item) {
                if ($item === null) {
                    return false;
                }

                return (bool) \trim((string) $item);
            }
        );
    }
public function stripEmpty ( ) : self { return $ this -> filter ( static function ( $ item ) { if ( $ item === null ) { return false ; } return ( bool ) \ trim ( ( string ) $ item ) ; } ) ; }
Stripe all empty items.

@return static
<p>(Immutable)</p>
Stripe all empty items .