docs/polyethylene.indexedtypepredicate.md
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [polyethylene](./polyethylene.md) > [IndexedTypePredicate](./polyethylene.indexedtypepredicate.md)
## IndexedTypePredicate type
A function that receives an object (`elem`<!-- -->) and its `index` in the iteration and returns a `boolean` value indicating if `elem` is of the generic type `U`
<b>Signature:</b>
```typescript
export declare type IndexedTypePredicate<T, U extends T> = (elem: T, index: number) => elem is U;
```