0.1.1 • Published 7 years ago

@skt-t1-byungi/array-includes v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

@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

0.1.1

7 years ago

0.1.0

7 years ago