@predash/lar

2.0.2 • Public • Published

@predash/lar

npm (scoped)

Performs d number of left rotation operation on array and returns output.

Install

$ npm i @predash/lar

Usage

const LAR = require("@predash/lar");

await LAR(3,[1,2,3,4]);
//=> [4,1,2,3]
await LAR(1,1); 
//=> Please give valid arguments

Readme

Keywords

Package Sidebar

Install

npm i @predash/lar

Weekly Downloads

0

Version

2.0.2

License

ISC

Unpacked Size

2.16 kB

Total Files

4

Last publish

Collaborators

  • predash