@extra-array/left-update.min
TypeScript icon, indicating that this package has built-in type declarations

2.9.41 • Public • Published

Gets values from the left. 🏃 📼 📦 🌔 📒

Alternatives: left, left$.
Similar: left, middle, right.
This is part of package extra-array.

This is browserified, minified version of @extra-array/left-update.
It is exported as global variable array_left$.
CDN: unpkg, jsDelivr.

array.left$(x, [n]);
// x: an array (updated)
// n: number of values (1)
// --> x
const array = require('extra-array');

var x = [1, 2, 3];
array.left$(x, 1);
// [ 1 ]

x;
// [ 1 ]

var x = [1, 2, 3];
array.left$(x, 2);
// [ 1, 2 ]

references

Package Sidebar

Install

npm i @extra-array/left-update.min

Weekly Downloads

18

Version

2.9.41

License

MIT

Unpacked Size

11.3 kB

Total Files

29

Last publish

Collaborators

  • wolfram77