mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
36 lines
834 B
Markdown
36 lines
834 B
Markdown
|
+++
|
||
|
# -----------------------------------------------------------------------
|
||
|
# Do not edit this file. It is automatically generated by API Documenter.
|
||
|
# -----------------------------------------------------------------------
|
||
|
title = "findCommonLabels"
|
||
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
||
|
type = "docs"
|
||
|
+++
|
||
|
|
||
|
## findCommonLabels() function
|
||
|
|
||
|
### findCommonLabels() function
|
||
|
|
||
|
Returns a map labels that are common to the given label sets.
|
||
|
|
||
|
<b>Signature</b>
|
||
|
|
||
|
```typescript
|
||
|
export declare function findCommonLabels(labelsSets: Labels[]): Labels;
|
||
|
```
|
||
|
<b>Import</b>
|
||
|
|
||
|
```typescript
|
||
|
import { findCommonLabels } from '@grafana/data';
|
||
|
```
|
||
|
<b>Parameters</b>
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| labelsSets | <code>Labels[]</code> | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
`Labels`
|
||
|
|