---
id: fast-foundation.all
title: all variable
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [all](./fast-foundation.all.md)

## all variable

A decorator and DI resolver that will resolve an array of all dependencies registered with the specified key.

<b>Signature:</b>

```typescript
all: (key: any, searchAncestors?: boolean | undefined) => ReturnType<typeof DI.inject>
```