src/Type/ArrayType.php
public function remove($indexOrName)
    {
        if (isset($this->arrayVar[$indexOrName])) {
            unset($this->arrayVar[$indexOrName]);
            return true;
        }
        return false;
    }
public function remove($indexOrName)
    {
        if (isset($this->arrayVar[$indexOrName])) {
            unset($this->arrayVar[$indexOrName]);
            return true;
        }
        return false;
    }
public function remove ( $ indexOrName ) { if ( isset ( $ this -> arrayVar [ $ indexOrName ] ) ) { unset ( $ this -> arrayVar [ $ indexOrName ] ) ; return true ; } return false ; }
Remove an item

@since   1.1
@param   int|string $indexOrName Index or name of key
@return  bool True if success or false if not exist
Remove an item