public function reject($cb)
    {
        $dstore = new DataStore;
        $dstore->meta($this->metaData);
        foreach ($this->rows as $index=>$row) {
            if ($cb($row, $index)===false) {
                $dstore->append($row);
            }
        }
        return $dstore;
    }
public function reject($cb)
    {
        $dstore = new DataStore;
        $dstore->meta($this->metaData);
        foreach ($this->rows as $index=>$row) {
            if ($cb($row, $index)===false) {
                $dstore->append($row);
            }
        }
        return $dstore;
    }
public function reject ( $ cb ) { $ dstore = new DataStore ; $ dstore -> meta ( $ this -> metaData ) ; foreach ( $ this -> rows as $ index => $ row ) { if ( $ cb ( $ row , $ index ) === false ) { $ dstore -> append ( $ row ) ; } } return $ dstore ; }
Reject some rows that meets condition

@param function $cb Callback function

@return DataStore New datastore containing results.
Reject some rows that meets condition