Files
Marcus Andersson cc3fc18076 Docs: enable packages reference docs for 7-beta (#23953)
* added packages reference menu item.

* removed the draft flag.

* Updated docs by running script.
2020-04-28 09:53:58 +02:00

42 lines
880 B
Markdown

+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "parseFlags"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## parseFlags() function
### parseFlags() function
Converts any mode modifiers in the text to the Javascript equivalent flag
<b>Signature</b>
```typescript
export declare function parseFlags(text: string): {
cleaned: string;
flags: string;
};
```
<b>Import</b>
```typescript
import { parseFlags } from '@grafana/data';
```
<b>Parameters</b>
| Parameter | Type | Description |
| --- | --- | --- |
| text | <code>string</code> | |
<b>Returns:</b>
`{
cleaned: string;
flags: string;
}`