# fileImportsFrom

**Kind:** Function

**Source:** [`atloria-monorepo/libs/parser-core/src/utils/framework-detect.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/parser-core/src/utils/framework-detect.ts#L61)

True when the file has an `import … from '<pkgPrefix>…'` (or `require('<pkgPrefix>…')`).

## Signature

```ts
function fileImportsFrom(filePath: string, pkgPrefix: string, content: string): boolean
```

## Parameters

| Name | Type |
|---|---|
| `filePath` | `string` |
| `pkgPrefix` | `string` |
| `content` | `string` |

**Returns:** `boolean`
