tn-arrelm
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Bundle Size - 218 bytes gzipped

import { arrNextElm, arrPrevElm } from 'tn-arrelm'

const arr = ['alpha', 'beta', 'gama']
const current = 'beta'
const point = 1

arrNextElm(arr, current, point?) // gama
arrPrevElm(arr, current, point?) // alpha

Readme

Keywords

none

Package Sidebar

Install

npm i tn-arrelm

Weekly Downloads

2

Version

2.0.0

License

MIT

Unpacked Size

7.9 kB

Total Files

22

Last publish

Collaborators

  • turnova