Difference between revisions of "MIST basicSerialize"
From DCS World Wiki - Hoggitworld.com
(No difference)
|
Latest revision as of 22:50, 13 April 2018
mist.utils.basicSerialize
Added with: Mist 1.0 |
Description |
Returns tostring(val), unless val is nil or a string. In the case of nil, it returns an empty string (this will PROBABLY be changed to return ‘nil’ in future versions). In the case val is a string, it
returns string.format('%q', s). |
Syntax |
string mist.utils.basicSerialize(value val ) |
Valid Input Values: |
any non-string value |
Return value: |
string |
Return example: |
Usage Examples: |
|
Notes: |
Related Functions |
deepCopy, dostring, basicSerialize, serialize, serializeWithCycles, oneLineSerialize, tableShow |