Value to text
FreeLogic@rabbinatix/value-to-text by Rabbinatixupdated Oct 4, 2026
Any value as text: numbers as digits, objects and lists as JSON.
Handy for logs and messages. null becomes the empty text.
Shows: To String.
How to use it
Add it to your logic, then add a Call Function step in any logic and pick Value to text. It belongs to no system, so every system can use it. Or download the TypeScript and call it from your own code.
Inputs
value: Any value
Outputs
text: Text
Previewdrag the steps around; scroll to zoom
Function Entry, Input / output. 0 inputs, 2 outputs. step 1 of 3
Value to text
value
To String, Data. 1 input, 1 output. step 2 of 3
To String
value
result
Return, Input / output. 2 inputs, 0 outputs. step 3 of 3
Return
text
Arrow keys: next or previous step in flow order. Alt with arrows: nearest step in that direction. Enter: open. Shift F10: more actions.
Examplesrun live against the logic · 3/3 pass
| Passed | Example | Input | Output |
|---|---|---|---|
| A number | {"value":2.5} | {"text":"2.5"} | |
| An object | {"value":{"a":1,"b":[true,null]}} | {"text":"{\"a\":1,\"b\":[true,null]}"} | |
| Null | {"value":null} | {"text":""} |
Try it
Versions
In this package
Value to text (entry)
