@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
36 lines (23 loc) • 1.12 kB
Markdown
---
lang: en
title: 'API docs: context.describeinjectedarguments'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/context
permalink: /doc/en/lb4/apidocs.context.describeinjectedarguments.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [describeInjectedArguments](./context.describeinjectedarguments.md)
## describeInjectedArguments() function
Return an array of injection objects for parameters
<b>Signature:</b>
```typescript
export declare function describeInjectedArguments(target: Object, method?: string): Readonly<Injection>[];
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| target | Object | The target class for constructor or static methods, or the prototype for instance methods |
| method | string | Method name, undefined for constructor |
<b>Returns:</b>
Readonly<[Injection](./context.injection.md)<!-- -->>\[\]