# hasControlFlow

**Kind:** Function

**Source:** [`atloria-monorepo/libs/parser-core/src/parsers/backend/control-flow.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/parser-core/src/parsers/backend/control-flow.ts#L211)

Whether there is anything worth publishing — used to keep empty objects out of metadata.

## Signature

```ts
function hasControlFlow(flow: ControlFlow): boolean
```

## Parameters

| Name | Type |
|---|---|
| `flow` | `ControlFlow` |

**Returns:** `boolean`
