38 lines
558 B
Markdown
38 lines
558 B
Markdown
---
|
|
title: optionString
|
|
description: String option
|
|
---
|
|
## Constructor: optionString
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
String option
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|:-------------:|:--------:|------------:|
|
|
|value|[string](../types/string.md) | Yes|Value of an option|
|
|
|
|
|
|
|
|
### Type: [OptionValue](../types/OptionValue.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$optionString = ['_' => 'optionString', 'value' => string, ];
|
|
```
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
optionString={_='optionString', value=string, }
|
|
|
|
```
|
|
|
|
|