Darkhogg/polyethylene

View on GitHub
docs/polyethylene.indexedpredicate.md

Summary

Maintainability
Test Coverage
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [polyethylene](./polyethylene.md) &gt; [IndexedPredicate](./polyethylene.indexedpredicate.md)

## IndexedPredicate type

A function that receives an object (`elem`<!-- -->) and its `index` in the iteration and returns a `boolean` value.

<b>Signature:</b>

```typescript
export declare type IndexedPredicate<T> = (elem: T, index: number) => boolean;
```