Documentation / @sw-file-lib/xml / TextValuePairImmutable
Interface: TextValuePairImmutable
ts
interface TextValuePairImmutable {
readonly text?: string;
readonly value?: number;
}Defined in: packages/xml/src/schemas/generated/common-immutable.ts:88
Represents elements with text and value attributes in Stormworks microcontroller data.
This is the recommended type for function parameters when it does not need to modify the value. Use TextValuePair instead if mutation is required.
See
Properties
| Property | Modifier | Type |
|---|---|---|
|
| |
|
|