# findFactProduct

> **findFactProduct**(`facts`, `product`): [`FactProduct`](https://docs.sparkletree.io/developers/api/core/interfaces/factproduct.md) \| `undefined`

Defined in: facts.ts:326

The product a declaration names, by id or handle. Matched without regard
to case, as the edge matches it.

## Parameters

### facts

[`FactsPayload`](https://docs.sparkletree.io/developers/api/core/interfaces/factspayload.md) \| `null` \| `undefined`

### product

`string`

## Returns

[`FactProduct`](https://docs.sparkletree.io/developers/api/core/interfaces/factproduct.md) \| `undefined`
