# Module: findIndex

## Table of contents

### Functions

- [default](findIndex.md#default)

## Functions

### default

▸ **default**(`collection`, `predicate`): `any`

Find the index/key of a value in a collection using a predicate

#### Parameters

| Name | Type |
| :------ | :------ |
| `collection` | `Collection` |
| `predicate` | `Predicate` |

#### Returns

`any`

#### Defined in

[src/findIndex.js:20](https://github.com/Twipped/js-utils/blob/9c196e3/src/findIndex.js#L20)
