@skt-t1-byungi/array-includes
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

@skt-t1-byungi/array-includes

includes() for old browser, in typescript.

Example

includes([1, 2, 3], 2)
// => true

includes([1, 2, 3], 4)
// => false

includes(array, search, from = 0)

array

Target array.

search

The element to search for.

from

The position in this array at which to begin.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i @skt-t1-byungi/array-includes

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

1.62 kB

Total Files

4

Last publish

Collaborators

  • skt-t1-byungi