UNPKG

lamed_learn

Version:
2 lines (1 loc) 85 B
let key = _.findIndex(array, ['field', searchForThis]) // if not found -> key = -1;