+++ # ----------------------------------------------------------------------- # 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 Signature ```typescript export declare function parseFlags(text: string): { cleaned: string; flags: string; }; ``` Import ```typescript import { parseFlags } from '@grafana/data'; ``` Parameters | Parameter | Type | Description | | --- | --- | --- | | text | string | | Returns: `{ cleaned: string; flags: string; }`