push#

static vectorious.push(x, value)#

Pushes a new value into x.

Arguments:
Returns:

NDArray

Examples:

import { push } from 'vectorious/core/push';

push([1, 2, 3], 4); // => array([1, 2, 3, 4])