Here are the different literal values supported by MQL:
String |
A set of characters inside double quotes, e.g.:
If the text itself contains the double-quote character or backslashes, you have to precede them with a backslash; this is called escaping. You can type any other character, including line breaks, in the text directly: "It's \"quoted\" and this is a backslash: \\" Here is an overview of supported escape sequences:
|
Boolean | true or false . |
Number |
Any number literal. You can use Examples of valid number literals:
|
List | A set of comma-separated values inside brackets, e.g.
The underlying list will be an instance of the interface
|
Map | A set of comma-separated key/value pairs inside braces, e.g.
The underlying map will be an instance of the interface |
Range | Integer values separated by two periods , e.g.
|
No value | null represents nothing or the value null. |