@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

Dependencies (0)

    Dev Dependencies (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