---
lang: en
title: 'API docs: metadata.methodmultidecoratorfactory.mergewithown'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/metadata
permalink: /doc/en/lb4/apidocs.metadata.methodmultidecoratorfactory.mergewithown.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/metadata](./metadata.md) &gt; [MethodMultiDecoratorFactory](./metadata.methodmultidecoratorfactory.md) &gt; [mergeWithOwn](./metadata.methodmultidecoratorfactory.mergewithown.md)

## MethodMultiDecoratorFactory.mergeWithOwn() method

<b>Signature:</b>

```typescript
protected mergeWithOwn(ownMetadata: MetadataMap<T[]>, target: Object, methodName?: string, methodDescriptor?: TypedPropertyDescriptor<any> | number): MetadataMap<T[]>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  ownMetadata | [MetadataMap](./metadata.metadatamap.md)<!-- -->&lt;T\[\]&gt; |  |
|  target | Object |  |
|  methodName | string |  |
|  methodDescriptor | TypedPropertyDescriptor&lt;any&gt; \| number |  |

<b>Returns:</b>

[MetadataMap](./metadata.metadatamap.md)<!-- -->&lt;T\[\]&gt;


