JSPM

Found 9 results for index-of

index-of

Get the index of the first element in an array that returns truthy for the given value, using strict equality for comparisons.

  • v0.2.0
  • 76.64
  • Published

in-array

Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.

  • v0.1.2
  • 56.61
  • Published

@writetome51/array-get-indexes-of

Functions that return indexes of items in an array. Optional arguments give you more flexibility than Array.prototype.indexOf()

  • v3.0.2
  • 15.37
  • Published

quiaexercitationem

Get the index of the first element in an array that returns truthy for the given value, using strict equality for comparisons.

  • v1.4.1
  • 13.74
  • Published

is-array-elem

Checks if value is found in array

  • v1.0.2
  • 10.42
  • Published

last-index-of

Get the index of the last element in an array that returns truthy for the given value, using strict equality for comparisons.

  • v0.1.0
  • 5.21
  • Published

indices-of

Like indexOf, but gets all matching indices

  • v1.0.0
  • 4.90
  • Published