find(data)

  • Type: Method
  • File:
  • Implemented in: PowerArray
  • Included in:

gets the index of an in an array

Parameters

  • data - element object
    • any

Returns

return index of element, -1 if it does not exists