src/TypedArray.php
public function merge($ta): self
	{
		$this->_massageBlockInput($in);

		$ret = clone $this;

		foreach ($ta as $k => $v) {
			if (is_int($k)) {
				$ret[] = $v;
			}
			else {
				$ret[$k] = $v;
			}
		}

		return $ret;
	}
public function merge($ta): self
	{
		$this->_massageBlockInput($in);

		$ret = clone $this;

		foreach ($ta as $k => $v) {
			if (is_int($k)) {
				$ret[] = $v;
			}
			else {
				$ret[$k] = $v;
			}
		}

		return $ret;
	}
Merge input with clone of this and return new TypedArray.

Similar to the function array_merge().

@param Traversable|array $ta

@return \Diskerror\Typed\TypedArray