str
conststr: (x:unknown) =>string=builtins.str
Defined in: packages/pythonlib/src/index.ts:181
Convert a value to its string representation.
Uses Python-style formatting for booleans (True/False), None, and collections.
Parameters
| Parameter | Type | Description |
|---|---|---|
x | unknown | The value to convert |
Returns
string
The string representation