---
title: "reachFrom(): function in Reflection, TypeShade API reference"
description: "reachFrom, a function in Reflection. Walk the call graph from entries and collect what they reach."
url: https://typeshade.dev/api/reachfrom/
language: en
---

# `reachFrom()`

Function in Reflection

Walk the call graph from entries and collect what they reach.

`import { reachFrom } from 'typeshade'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
function reachFrom(m: ModuleDecl, entries: readonly FuncDecl[]): EntryReach
```

## Parameters

**`m` `ModuleDecl`**

**`entries` `readonly FuncDecl[]`**

## Return value

`EntryReach`

## Description

Pure.

## Source

[`src/core/passes/stage-bindings.ts`, line 46](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/passes/stage-bindings.ts#L46), at commit af54ddad5
